Update INSTALL a bit, include blurb about the test-suite + fakechroot

This commit is contained in:
Panu Matilainen 2011-04-04 14:39:19 +03:00
parent a81d933cc3
commit 7e91fb7370
1 changed files with 7 additions and 16 deletions

23
INSTALL
View File

@ -161,20 +161,12 @@ and then install with:
make install
If you wish to make a tarfile of the binaries so that you may easily
install on machines with OS package managers other then rpm (ed note:
what about putting gzip and bzip2 in the tar, modifying the
/etc/rpmrc?):
Rpm comes with an automated self-test suite. The test-suite relies heavily
on fakechroot (https://github.com/fakechroot/) and cannot be executed
without it. Provided that fakechroot was found during configure,
it can be executed after a succesful build with:
make tar
when installing. If you do install from a tarball, you will need to do
something like
mkdir /var/lib/rpm
rpm --initdb
to initialize your rpm database.
make check
Finally, if you wish to prepare an rpm source tar ball, you should do
@ -311,13 +303,12 @@ Pro would want `i586pro' over `i586-pro', but it does make parsing
this filename by other programs a bit more difficult.
GPG/PGP/PGP5
------------
GPG
---
To use the signing features of rpm, you will need to configure certain
rpm macros in ~/.rpmmacros:
%_signature gpg
%_gpg_name <GPG UID>
%_gpg_path %(echo $HOME)/.gnupg