Author: glen                         Date: Sun May 21 15:57:21 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- convert some weird pre-script to trigger; rel 3

---- Files affected:
SPECS:
   firewall-init.spec (1.45 -> 1.46) 

---- Diffs:

================================================================
Index: SPECS/firewall-init.spec
diff -u SPECS/firewall-init.spec:1.45 SPECS/firewall-init.spec:1.46
--- SPECS/firewall-init.spec:1.45       Mon Dec 12 17:24:19 2005
+++ SPECS/firewall-init.spec    Sun May 21 17:57:16 2006
@@ -3,11 +3,12 @@
 Summary(pl):   Skrypt startowy firewalla
 Name:          firewall-init
 Version:       2.99.8
-Release:       2
+Release:       3
 License:       GPL
 Group:         Networking/Admin
 Source0:       
ftp://ftp.pld-linux.org/software/firewall-init/%{name}-%{version}.tar.bz2
 # Source0-md5: 1237a67be00e5ecef53a934f86c7507b
+BuildRequires: rpmbuild(macros) >= 1.194
 Requires(post,preun):  /sbin/chkconfig
 Requires:      iptables >= 1.2.2-2
 Requires:      rc-scripts
@@ -35,12 +36,11 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-#%%pre
-#if [ `rpm -q --queryformat='%{VERSION}' firewall-init` < '2.5' ]; then
-#      echo "You need to manually convert your rules to iptables or install"
-#      echo "firewall-init-ipchains"
-#      exit 1
-#fi
+%triggerpostun -- %{name} < 2.5
+%banner -e %{name} <<'EOF'
+You need to manually convert your rules to iptables or install
+firewall-init-ipchains
+EOF
 
 %post
 /sbin/chkconfig --add firewall
@@ -69,6 +69,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.46  2006/05/21 15:57:16  glen
+- convert some weird pre-script to trigger; rel 3
+
 Revision 1.45  2005/12/12 16:24:19  glen
 - adapterized (sorted %verify attrs)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/firewall-init.spec?r1=1.45&r2=1.46&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to