aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2005-05-08 15:06:41 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2005-05-08 15:06:41 +0000
commitb9d474f190f9da93b83730fff5af2428fa7701e9 (patch)
tree27bb91f07538e38e81efb71a30fbecd575b52d49
parentca7a7d471b1afb71ead1d4ccf281aa35c60b8b0a (diff)
downloadrpm-setup-b9d474f190f9da93b83730fff5af2428fa7701e9.tar
rpm-setup-b9d474f190f9da93b83730fff5af2428fa7701e9.tar.gz
rpm-setup-b9d474f190f9da93b83730fff5af2428fa7701e9.tar.bz2
rpm-setup-b9d474f190f9da93b83730fff5af2428fa7701e9.tar.xz
rpm-setup-b9d474f190f9da93b83730fff5af2428fa7701e9.zip
- add README
-rw-r--r--README31
1 files changed, 31 insertions, 0 deletions
diff --git a/README b/README
index e69de29..4488b89 100644
--- a/README
+++ b/README
@@ -0,0 +1,31 @@
+rpm-mandriva-setup
+$Id$
+
+This package contains configuration and script for the mandriva rpm.
+
+Some file come from .in, this allow to transform path for testing purpose.
+If your file or script contains path, you should make a .in files.
+
+* About macros:
+Only redefine macros in this package if the rpm one does not please to you.
+
+All macros having same body should go into macros.in.
+If the macros body change:
+- add a symbolic value into macros-perarch.in (@foo@)
+- add the value into make_macrosfiles.sh.in
+
+Example:
+%_libdir /use/%_lib => macros.in
+%_lib lib|lib64 => macros-perarch.in
+
+* Testing the monster
+$ ./configure --with-rpmconfdir=$fakeroot --with-rpmlibdir=/usr/lib/rpm --with-rpmsysconfdir=/etc
+
+This will configure the package for an installation into fakeroot, using rpm files in /usr/lib/rpm.
+$ make
+$ make install
+
+Now we can say to rpm to use fake config:
+rpm --rcfile $fakeroot/mandriva/rpmrc other command...
+
+Happy Hacking