aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorJeff Johnson <jbj@redhat.com>1998-07-01 14:07:31 +0000
committerJeff Johnson <jbj@redhat.com>1998-07-01 14:07:31 +0000
commit558419e785d0e766357d46f9712dbef443b3e773 (patch)
tree7be305bbda552036a51340971eb4d716597a6ad1 /initscripts.spec
parent06d2b6f96f1f8e230e86c169a58005a1bf99de1c (diff)
downloadinitscripts-558419e785d0e766357d46f9712dbef443b3e773.tar
initscripts-558419e785d0e766357d46f9712dbef443b3e773.tar.gz
initscripts-558419e785d0e766357d46f9712dbef443b3e773.tar.bz2
initscripts-558419e785d0e766357d46f9712dbef443b3e773.tar.xz
initscripts-558419e785d0e766357d46f9712dbef443b3e773.zip
Add %defattr for non-root build/install.
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec7
1 files changed, 4 insertions, 3 deletions
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