]> git.pld-linux.org Git - packages/firewall-init-ipchains.git/commitdiff
- more specific Requires
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 29 Jul 2003 15:12:20 +0000 (15:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    firewall-init-ipchains.spec -> 1.34

firewall-init-ipchains.spec

index 573aceac612b25e07d3be1ba0d846ebefcbba7cb..347a023b3cc1bad346d1c96d7ce8df2089de1e39 100644 (file)
@@ -11,11 +11,11 @@ Group(pl):  Sieciowe/Administacyjne
 # Source0-md5: e336e02377ef26c258d8ccabeaefcf8c
 Source0:        http://aramin.one.pl/~undefine/%{name}-%{version}.tar.gz
 Patch0:                %{name}-pre.patch
+PreReq:                rc-scripts
+Requires(post,preun):  /sbin/chkconfig
 Requires:      iptables >= 1.2.2-2
 Conflicts:     kernel < 2.3.0
-Prereq:                rc-scripts
-Prereq:                /sbin/chkconfig
-Buildarch:     noarch
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,7 +33,11 @@ stopowania filtr
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add firewall
@@ -45,9 +49,6 @@ if [ "$1" = "0" ]; then
        /sbin/chkconfig --del firewall-pre
 fi
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
 %doc README
This page took 0.054105 seconds and 4 git commands to generate.