Hello community, here is the log from the commit of package bwbar for openSUSE:Factory checked in at 2013-10-29 09:14:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bwbar (Old) and /work/SRC/openSUSE:Factory/.bwbar.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bwbar" Changes: -------- --- /work/SRC/openSUSE:Factory/bwbar/bwbar.changes 2013-08-14 22:53:27.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.bwbar.new/bwbar.changes 2013-10-29 09:14:31.000000000 +0100 @@ -1,0 +2,6 @@ +Sat Oct 26 12:24:59 UTC 2013 - [email protected] + +- Don't provide sysvinit and systemd support on the same system; + Provide either one or the other + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bwbar.spec ++++++ --- /var/tmp/diff_new_pack.lWPIRG/_old 2013-10-29 09:14:32.000000000 +0100 +++ /var/tmp/diff_new_pack.lWPIRG/_new 2013-10-29 09:14:32.000000000 +0100 @@ -70,12 +70,12 @@ install -m 755 bwbar %buildroot%{_bindir} install -m 644 -D %{SOURCE2} %buildroot/var/adm/fillup-templates/sysconfig.%{name} # +%if 0%{?has_systemd} +install -m 644 -D %{SOURCE4} %buildroot/%{_unitdir}/%name.service +%else install -m 755 -D %{SOURCE3} %buildroot%{_sysconfdir}/init.d/%{name} mkdir -p %buildroot%{_sbindir} ln -svf ../../etc/init.d/%{name} %buildroot/%{_sbindir}/rc%{name} -# -%if 0%{?has_systemd} -install -m 644 -D %{SOURCE4} %buildroot/%{_unitdir}/%name.service %endif # @@ -85,33 +85,38 @@ %endif %post -%{fillup_and_insserv} %if 0%{?has_systemd} %service_add_post bwbar.service +%{fillup_only} +%else +%{fillup_and_insserv} %endif %preun -%stop_on_removal %if 0%{?has_systemd} %service_del_preun bwbar.service +%else +%stop_on_removal %endif %postun -%insserv_cleanup -%restart_on_update %if 0%{?has_systemd} %service_del_postun bwbar.service +%else +%insserv_cleanup +%restart_on_update %endif %files %defattr(-, root, root) %doc README COPYING %{_bindir}/* -%{_sbindir}/* /var/adm/fillup-templates/sysconfig.%{name} -%config %{_sysconfdir}/init.d/%{name} %if 0%{?has_systemd} %{_unitdir}/%{name}.service +%else +%{_sbindir}/* +%config %{_sysconfdir}/init.d/%{name} %endif %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
