From b9d474f190f9da93b83730fff5af2428fa7701e9 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Sun, 8 May 2005 15:06:41 +0000 Subject: - add README --- README | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'README') 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 -- cgit v1.2.1