diff syslog2iptables.spec.in @ 69:0e736950a117 stable-1-0-16

fix post uninstall script; allow config bucket count zero to disable a pattern
author Carl Byington <carl@five-ten-sg.com>
date Mon, 21 Dec 2015 07:56:18 -0800
parents 45e53c44c46c
children 79f310d1bc46
line wrap: on
line diff
--- a/syslog2iptables.spec.in	Sat Dec 19 12:57:42 2015 -0800
+++ b/syslog2iptables.spec.in	Mon Dec 21 07:56:18 2015 -0800
@@ -3,7 +3,7 @@
 Summary:            Syslog to iptables dynamic firewall
 Name:               @PACKAGE@
 Version:            @VERSION@
-Release:            2%{?dist}
+Release:            3%{?dist}
 License:            GPLv3+
 Group:              System Environment/Daemons
 Source:             http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz
@@ -54,7 +54,7 @@
 
 
 %postun
-[ $1 = 0 ] && /sbin/chkconfig --del %{name}
+[ $1 = 0 ] && /sbin/chkconfig --del %{name} || :
 
 
 %files
@@ -72,6 +72,10 @@
 
 
 %changelog
+* Mon Dec 21 2015 Carl Byington <carl@five-ten-sg.com> - 1.16-3
+- fix post uninstall script
+- allow config bucket count zero to disable a pattern
+
 * Sat Dec 19 2015 Carl Byington <carl@five-ten-sg.com> - 1.16-2
 - fix default config regular expressions