aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-01-22 20:28:21 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-01-22 20:28:21 +0000
commit82a1ee8e7b99998b014e03f4a118d5ddb876e416 (patch)
tree459133826317d3a5bba1853a7d0b699e9920a158
parentbab5f267237c75cc5fbe786da02eab083299986b (diff)
downloadmsec-82a1ee8e7b99998b014e03f4a118d5ddb876e416.tar
msec-82a1ee8e7b99998b014e03f4a118d5ddb876e416.tar.gz
msec-82a1ee8e7b99998b014e03f4a118d5ddb876e416.tar.bz2
msec-82a1ee8e7b99998b014e03f4a118d5ddb876e416.tar.xz
msec-82a1ee8e7b99998b014e03f4a118d5ddb876e416.zip
clean before installing and don't install init.sh man pages anymore.
-rw-r--r--msec.spec13
1 files changed, 7 insertions, 6 deletions
diff --git a/msec.spec b/msec.spec
index 2830cf2..237b1bf 100644
--- a/msec.spec
+++ b/msec.spec
@@ -34,6 +34,7 @@ cd share; ./compile.py '/usr/share/msec/' *.py
rm -f msec.pyo
%install
+rm -rf $RPM_BUILD_ROOT
#make install RPM_BUILD_ROOT=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/etc/security/msec
@@ -49,13 +50,13 @@ install -m 644 conf/perm.* conf/server.* $RPM_BUILD_ROOT/etc/security/msec
install -m 755 src/promisc_check/promisc_check src/msec_find/msec_find $RPM_BUILD_ROOT/usr/bin
install -m644 man/C/*8 $RPM_BUILD_ROOT%{_mandir}/man8/
-bzip2 -9f $RPM_BUILD_ROOT%{_mandir}/man8/*8
-for i in man/??* ; do \
- install -d $RPM_BUILD_ROOT%{_mandir}/`basename $i`/man8; \
- install -m 644 $i/*.8 $RPM_BUILD_ROOT%{_mandir}/`basename $i`/man8; \
- bzip2 -9f $RPM_BUILD_ROOT%{_mandir}/`basename $i`/man8/*8 ; \
-done;
+#
+# for i in man/??* ; do \
+# install -d $RPM_BUILD_ROOT%{_mandir}/`basename $i`/man8; \
+# install -m 644 $i/*.8 $RPM_BUILD_ROOT%{_mandir}/`basename $i`/man8; \
+# bzip2 -9f $RPM_BUILD_ROOT%{_mandir}/`basename $i`/man8/*8 ; \
+# done;
touch $RPM_BUILD_ROOT/etc/security/msec/security.conf $RPM_BUILD_ROOT/var/log/security.log $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/%{name}