Hello community,

here is the log from the commit of package ccgfs for openSUSE:Factory checked 
in at 2013-10-29 09:20:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ccgfs (Old)
 and      /work/SRC/openSUSE:Factory/.ccgfs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ccgfs"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ccgfs/ccgfs.changes      2012-12-14 
06:35:04.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ccgfs.new/ccgfs.changes 2013-10-29 
09:20:38.000000000 +0100
@@ -1,0 +2,6 @@
+Sat Oct 26 13:38:47 UTC 2013 - [email protected]
+
+- Don't provide sysvinit and systemd support on the same system
+  Provides support for either one or the other
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ccgfs.spec ++++++
--- /var/tmp/diff_new_pack.GraCb9/_old  2013-10-29 09:20:38.000000000 +0100
+++ /var/tmp/diff_new_pack.GraCb9/_new  2013-10-29 09:20:38.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ccgfs
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -63,6 +63,10 @@
 
 %install
 make install DESTDIR="%buildroot" unitdir="%{?_unitdir}";
+%if 0%{?_unitdir:1}
+# Remove unwanted sysvinit script if system provides systemd support
+rm -Rf "%buildroot/%_initddir"
+%endif
 
 %if 0%{?_unitdir:1}
 %pre
@@ -75,23 +79,26 @@
 %endif
 
 %preun
-%stop_on_removal ccgfs-super
 %if 0%{?_unitdir:1}
 %service_del_preun ccgfs-super.service
+%else
+%stop_on_removal ccgfs-super
 %endif
 
 %postun
-%restart_on_update ccgfs-super
-%insserv_cleanup
 %if 0%{?_unitdir:1}
 %service_del_postun ccgfs-super.service
+%else
+%restart_on_update ccgfs-super
+%insserv_cleanup
 %endif
 
 %files
 %defattr(-,root,root)
-%_initddir/*
 %if 0%{?_unitdir:1}
 %_unitdir/*.service
+%else
+%_initddir/*
 %endif
 %_sbindir/*
 %doc doc/*.txt


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to