Hello community, here is the log from the commit of package cronie for openSUSE:Factory checked in at Sun Oct 2 09:53:37 CEST 2011. -------- --- openSUSE:Factory/cronie/cronie.changes 2011-09-23 01:54:18.000000000 +0200 +++ /mounts/work_src_done/STABLE/cronie/cronie.changes 2011-09-29 11:18:12.000000000 +0200 @@ -1,0 +2,10 @@ +Thu Sep 29 09:17:49 UTC 2011 - fcrozat@suse.com + +- Use systemd macros to register cron.service. + +------------------------------------------------------------------- +Sun Sep 18 00:00:19 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cronie.spec ++++++ --- /var/tmp/diff_new_pack.gqkJRt/_old 2011-10-02 09:53:34.000000000 +0200 +++ /var/tmp/diff_new_pack.gqkJRt/_new 2011-10-02 09:53:34.000000000 +0200 @@ -15,20 +15,19 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild # 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\} Name: cronie -BuildRequires: audit-devel libselinux-devel pam-devel +BuildRequires: audit-devel libselinux-devel pam-devel systemd Url: https://fedorahosted.org/cronie/ License: MIT and BSD and GPLv2 Group: System/Daemons Recommends: smtp_daemon Recommends: postfix -AutoReqProv: on PreReq: permissions %fillup_prereq %insserv_prereq cron sysvinit(syslog) +%{?systemd_requires} Version: 1.4.7 Release: 14 %{expand: %%define cronie_version %version} @@ -122,8 +121,8 @@ %{__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 -%{__install} -v -d %{buildroot}/lib/systemd/system -%{__install} -v -m 644 %{SOURCE8} %{buildroot}/lib/systemd/system +%{__install} -v -d %{buildroot}/%{_unitdir} +%{__install} -v -m 644 %{SOURCE8} %{buildroot}/%{_unitdir} %{__install} -m 644 contrib/anacrontab $RPM_BUILD_ROOT%{_sysconfdir}/anacrontab %{__install} -c -m755 contrib/0anacron $RPM_BUILD_ROOT%{_sysconfdir}/cron.hourly/0anacron %{__mkdir_p} $RPM_BUILD_ROOT/var/spool/anacron @@ -159,6 +158,7 @@ %__mv "$conf.bk" "$conf" ||: done fi +%service_add_pre cron.service %post # when we are doing rename then we pretend update with set 2 @@ -175,13 +175,16 @@ %run_permissions %verifyscript %verify_permissions -e /etc/crontab -e /usr/bin/crontab +%service_add_post cron.service %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 @@ -215,9 +218,7 @@ %config %{_sysconfdir}/omc/srvinfo.d/cron.xml %dir %{_sysconfdir}/omc/srvinfo.d/ %dir %{_sysconfdir}/omc/ -%dir /lib/systemd -%dir /lib/systemd/system -/lib/systemd/system/cron.service +%{_unitdir}/cron.service %files anacron %defattr(-,root,root,-) continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org