From 7e91fb7370433484b10e54790d97a731656b68ec Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 4 Apr 2011 14:39:19 +0300 Subject: [PATCH] Update INSTALL a bit, include blurb about the test-suite + fakechroot --- INSTALL | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/INSTALL b/INSTALL index bde9efab3..96ddbdb9b 100644 --- a/INSTALL +++ b/INSTALL @@ -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_path %(echo $HOME)/.gnupg