From 558419e785d0e766357d46f9712dbef443b3e773 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Wed, 1 Jul 1998 14:07:31 +0000 Subject: Add %defattr for non-root build/install. --- initscripts.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'initscripts.spec') diff --git a/initscripts.spec b/initscripts.spec index 962ca4ae..75c256ae 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -16,7 +16,7 @@ levels, and shut the system down cleanly. It also contains the scripts that activate and deactivate most network interfaces. %prep -%setup +%setup -q %build make CFLAGS="$RPM_OPT_FLAGS" @@ -26,13 +26,13 @@ rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/etc make ROOT=$RPM_BUILD_ROOT install mkdir -p $RPM_BUILD_ROOT/var/run/netreport -chown root.root $RPM_BUILD_ROOT/var/run/netreport +#chown root.root $RPM_BUILD_ROOT/var/run/netreport chmod u=rwx,g=rwx,o=rx $RPM_BUILD_ROOT/var/run/netreport for i in 0 1 2 3 4 5 6 ; do file=$RPM_BUILD_ROOT/etc/rc.d/rc$i.d mkdir $file - chown root.root $file +# chown root.root $file chmod u=rwx,g=rx,o=rx $file done @@ -94,6 +94,7 @@ fi rm -rf $RPM_BUILD_ROOT %files +%defattr(-,root,root) %dir /etc/sysconfig/network-scripts %config %verify(not md5 mtime size) /etc/adjtime /etc/sysconfig/network-scripts/ifdown -- cgit v1.2.1