[sec] New upstream release

Stefan Schulze Frielinghaus stefansf at fedoraproject.org
Mon Sep 19 08:42:08 UTC 2011


commit 7ff059afcca420c5be0b942464f5f58f5f0e5bd5
Author: Stefan Schulze Frielinghaus <stefansf at fedoraproject.org>
Date:   Mon Sep 19 10:40:10 2011 +0200

    New upstream release

 sec.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/sec.spec b/sec.spec
index ad11542..d276c8a 100644
--- a/sec.spec
+++ b/sec.spec
@@ -1,6 +1,6 @@
 Name:           sec
-Version:        2.6.0
-Release:        2%{?dist}
+Version:        2.6.1
+Release:        0%{?dist}
 Summary:        Simple Event Correlator script to filter log file entries
 Group:          System Environment/Daemons
 License:        GPLv2+
@@ -76,18 +76,21 @@ chmod 0644 contrib/convert.pl contrib/swatch2sec.pl
 
 %post
 if [ $1 -eq 1 ]; then
+        # Initial installation
         /bin/systemctl daemon-reload >/dev/null 2>&1 || :
 fi
 
 %preun
 if [ $1 -eq 0 ]; then
+        # Package removal, not upgrade
         /bin/systemctl --no-reload disable sec.service > /dev/null 2>&1 || :
         /bin/systemctl stop sec.service > /dev/null 2>&1 || :
 fi
 
 %postun
 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
-if [ $1 -eq 1 ]; then
+if [ $1 -ge 1 ]; then
+        # Package upgrade, not uninstall
         /bin/systemctl try-restart sec.service >/dev/null 2>&1 || :
 fi
 
@@ -104,6 +107,9 @@ rm -rf %{buildroot}
 %{_unitdir}/sec.service
 
 %changelog
+* Mon Sep 19 2011 Stefan Schulze Frielinghaus <stefansf at fedoraproject.org> - 2.6.1-0
+- New upstream release
+
 * Sat Jun 11 2011 Stefan Schulze Frielinghaus <stefansf at fedoraproject.org> - 2.6.0-2
 - Upgrade to systemd
 


More information about the scm-commits mailing list