]> git.wh0rd.org Git - dump.git/commitdiff
Remove the requirement to build the RPM as root from the spec file.
authorStelian Pop <stelian@popies.net>
Sun, 9 Jan 2000 23:40:10 +0000 (23:40 +0000)
committerStelian Pop <stelian@popies.net>
Sun, 9 Jan 2000 23:40:10 +0000 (23:40 +0000)
CHANGES
dump.spec

diff --git a/CHANGES b/CHANGES
index da9251d36406f73323eb613344c53a85e00b3e3a..d4ab15f7e918c60e6fc88548cca279f8efca1d52 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,4 @@
-$Id: CHANGES,v 1.31 2000/01/09 23:37:01 tiniou Exp $
+$Id: CHANGES,v 1.32 2000/01/09 23:40:10 tiniou Exp $
 
 Changes between versions 0.4b12 and 0.4b13 (released ???????????????)
 =====================================================================
@@ -6,6 +6,10 @@ Changes between versions 0.4b12 and 0.4b13 (released ???????????????)
 1.     Small Y2K fix in the man pages :). Thanks to Bernhard Sadlowski
        <sadlowsk@Mathematik.Uni-Bielefeld.DE> for reporting the bug.
 
+2.     Removed the requirement to build the RPM as root from the
+       spec file. Thanks to Christian Weisgerber 
+       <naddy@mips.rhein-neckar.de> for submitting this.
+
 Changes between versions 0.4b11 and 0.4b12 (released January 8, 2000)
 =====================================================================
 
index 8691914ccbfebb08d5fc0df64407fbb2d6c54a8c..9de2f97bfcd82dfb4b73dc347555b3d7124b703b 100644 (file)
--- a/dump.spec
+++ b/dump.spec
@@ -70,7 +70,7 @@ rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/sbin
 mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/man/man8
 
-make install BINDIR=$RPM_BUILD_ROOT/sbin MANDIR=${RPM_BUILD_ROOT}%{_prefix}/man/man8
+make install BINDIR=$RPM_BUILD_ROOT/sbin MANDIR=${RPM_BUILD_ROOT}%{_prefix}/man/man8 BINOWNER=$(id -un) BINGRP=$(id -gn) MANOWNER=$(id -un) MANGRP=$(id -gn)
 
 cp dump/dump.static $RPM_BUILD_ROOT/sbin
 cp restore/restore.static $RPM_BUILD_ROOT/sbin