Hello community,

here is the log from the commit of package cronie for openSUSE:Factory checked 
in at 2014-01-27 11:43:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cronie (Old)
 and      /work/SRC/openSUSE:Factory/.cronie.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cronie"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cronie/cronie.changes    2013-10-08 
10:45:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cronie.new/cronie.changes       2014-01-27 
11:43:17.000000000 +0100
@@ -1,0 +2,10 @@
+Thu Jan 23 21:08:55 UTC 2014 - [email protected]
+
+- Leave /usr/sbin/rccron in as link to /sbin/service
+
+-------------------------------------------------------------------
+Sun Oct 20 14:50:52 UTC 2013 - [email protected]
+
+- Remove old sysvinit hacks; none target distributions use sysvinit
+
+-------------------------------------------------------------------

Old:
----
  cron.init

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

Other differences:
------------------
++++++ cronie.spec ++++++
--- /var/tmp/diff_new_pack.UCdYX1/_old  2014-01-27 11:43:18.000000000 +0100
+++ /var/tmp/diff_new_pack.UCdYX1/_new  2014-01-27 11:43:18.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cronie
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,7 +17,7 @@
 
 
 # 3 : we don't need to do something with /etc/sysconfig/cron for now
-%define cron_configs 
\{/etc/init.d/cron,/etc/pam.d/crond,/etc/crontab,/etc/cron.deny,/etc/omc/srvinfo.d/cron.xml\}
+%define cron_configs 
\{/etc/pam.d/crond,/etc/crontab,/etc/cron.deny,/etc/omc/srvinfo.d/cron.xml\}
 
 Name:           cronie
 BuildRequires:  audit-devel
@@ -27,7 +27,7 @@
 Url:            https://fedorahosted.org/cronie/
 Recommends:     smtp_daemon
 Suggests:       postfix
-PreReq:         permissions %fillup_prereq %insserv_prereq cron
+PreReq:         permissions cron
 %{?systemd_requires}
 Version:        1.4.11
 Release:        0
@@ -36,7 +36,6 @@
 License:        BSD-3-Clause and GPL-2.0 and MIT
 Group:          System/Daemons
 Source0:        
https://fedorahosted.org/releases/c/r/%name/%name-%version.tar.gz
-Source1:        cron.init
 Source2:        run-crons
 Source3:        sample.root
 Source4:        deny.sample
@@ -118,9 +117,7 @@
 %{__install} -v -m 600 %{SOURCE4} %{buildroot}/etc/cron.deny
 %{__install} -v -d %{buildroot}/usr/lib/cron
 %{__install} -v %{SOURCE2} %{buildroot}/usr/lib/cron
-%{__install} -v -d %{buildroot}%{_sysconfdir}/init.d/
-%{__install} -v -m744 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/cron
-%{__ln_s} -f ../../etc/init.d/cron %{buildroot}/usr/sbin/rccron
+%{__ln_s} -f ../../sbin/service %{buildroot}/usr/sbin/rccron
 %{__install} -v -d %{buildroot}/%{_unitdir}
 %{__install} -v -m 644 %{SOURCE8} %{buildroot}/%{_unitdir}
 %{__install} -m 644 contrib/anacrontab $RPM_BUILD_ROOT%{_sysconfdir}/anacrontab
@@ -162,39 +159,21 @@
 
 %post
 # when we are doing rename then we pretend update with set 2
-if [ -e /var/run/update_from_old_cron ]; then 
-       set 2
-       %restart_on_update cron
-       # in %%postun restart_on_update call try-restart but we don't have init 
script in this phase when
-       # we are doing "ugly" update, but don't panic, it produces only warning 
to stderr
-       echo "Please ignore message about missing init script(from postun) - 
when occurs, we will install init script later with cronie package"
-       %__mv /etc/init.d/cron /etc/init.d/cron.bk ||:
-       %__ln_s /bin/true /etc/init.d/cron
-fi
-%{fillup_and_insserv -y cron} 
-%if 0%{?suse_version} >= 1140
 %set_permissions /etc/crontab /usr/bin/crontab
-%else
-%run_permissions
-%endif
 %service_add_post cron.service
 
 %verifyscript
 %verify_permissions -e /etc/crontab -e /usr/bin/crontab
 
 %preun
-%stop_on_removal cron
 %service_del_preun cron.service
 
 %postun
-%restart_on_update cron
-%insserv_cleanup
 %service_del_postun cron.service
 
 %posttrans
 if [ -e /var/run/update_from_old_cron ]; then 
        %{__rm} /var/run/update_from_old_cron ||:
-       %__mv /etc/init.d/cron.bk /etc/init.d/cron ||:
 fi
 
 %post anacron
@@ -208,7 +187,6 @@
 %dir %attr(700,root,root) /var/spool/cron
 %dir %attr(700,root,root) /var/spool/cron/tabs
 %dir /var/spool/cron/lastrun
-%config /etc/init.d/cron
 %config /etc/pam.d/crond
 %verify(not mode) %config(noreplace) /etc/crontab
 %config(noreplace) /etc/cron.deny


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

Reply via email to