[sidc/f17] Revert "Updating to use systemd macros"

Richard Marko rmarko at fedoraproject.org
Thu Sep 6 13:32:59 UTC 2012


commit 5306c86fd846f4667a17aa1bd0718cbd1392bcf8
Author: Richard Marko <rissko at gmail.com>
Date:   Thu Sep 6 15:32:14 2012 +0200

    Revert "Updating to use systemd macros"
    
    This reverts commit b683c1df8e41389fd3a192241e22b4994263701d.

 sidc.spec |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/sidc.spec b/sidc.spec
index fff7269..ab9cbd2 100644
--- a/sidc.spec
+++ b/sidc.spec
@@ -5,7 +5,7 @@
 
 Name:           sidc
 Version:        1.8
-Release:        2%{?dist}
+Release:        1%{?dist}
 Summary:        A VLF signal monitor for recording sudden ionospheric disturbances
 
 Group:          Applications/Communications
@@ -69,18 +69,9 @@ useradd -r -g sidc -d %{_localstatedir}/lib/sidc -s /sbin/nologin \
 exit 0
 
 %post
-%systemd_post sidc.service
-
-%preun
-%systemd_preun sidc.service
-
-%postun
-%systemd_postun_with_restart sidc.service
+systemctl --system daemon-reload
 
 %changelog
-* Wed Aug 22 2012 Lukáš Nykrýn <lnykryn at redhat.com> - 1.8-2
-- Scriptlets replaced with new systemd macros (#850409)
-
 * Mon Jul 23 2012 Richard Marko <rmarko at redhat.com> - 1.8-1
 - Version bump, use tmpfiles.d
 * Mon Jul 23 2012 Richard Marko <rmarko at redhat.com> - 1.7-2


More information about the scm-commits mailing list