Mercurial > syslog2iptables
diff syslog2iptables.spec.in @ 31:601bc0e075e1
gpl3
author | carl |
---|---|
date | Sun, 09 Sep 2007 10:59:15 -0700 |
parents | b34e716781ed |
children | ee9553116dbf |
line wrap: on
line diff
--- a/syslog2iptables.spec.in Sun Feb 12 11:34:37 2006 -0800 +++ b/syslog2iptables.spec.in Sun Sep 09 10:59:15 2007 -0700 @@ -4,7 +4,7 @@ Name: @PACKAGE@ Version: @VERSION@ Release: %{?custom_release}%{!?custom_release:1} -Copyright: GPL +License: GPL Group: System Environment/Daemons Source: http://www.five-ten-sg.com/@PACKAGE@/packages/@PACKAGE@-@VERSION@.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot @@ -62,7 +62,6 @@ %clean -rm -rf $RPM_BUILD_ROOT %pre @@ -73,11 +72,11 @@ %preun -/sbin/service @PACKAGE@ stop || : -/sbin/chkconfig --del @PACKAGE@ +[ $1 = 0 ] && /sbin/service @PACKAGE@ stop || : %postun +[ $1 = 0 ] && /sbin/chkconfig --del @PACKAGE@ %files @@ -90,6 +89,9 @@ /etc/rc.d/init.d/@PACKAGE@ %changelog +* Thu Aug 30 2007 Carl Byington 1.5 +- Fix pre/post scripts + * Thu Dec 08 2005 Carl Byington 1.0 - initial revision based on dnsbl spec file - and http://www.fedora.us/docs/rpm-packaging-guidelines.html