Hello community, here is the log from the commit of package sensors for openSUSE:Factory checked in at 2012-11-02 17:41:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sensors (Old) and /work/SRC/openSUSE:Factory/.sensors.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "sensors", Maintainer is "JDelvare@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/sensors/sensors.changes 2012-09-17 14:10:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.sensors.new/sensors.changes 2012-11-02 17:42:01.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Nov 1 02:22:53 UTC 2012 - crrodriguez@opensuse.org + +- lm_sensors systemd service file missing [bnc#768354] + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sensors.spec ++++++ --- /var/tmp/diff_new_pack.zX6q4k/_old 2012-11-02 17:42:03.000000000 +0100 +++ /var/tmp/diff_new_pack.zX6q4k/_new 2012-11-02 17:42:03.000000000 +0100 @@ -37,6 +37,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch: s390 s390x +BuildRequires: systemd +%{?systemd_requires} %description This package includes programs that show data from some sensor chips. @@ -155,8 +157,12 @@ mkdir -p $RPM_BUILD_ROOT/etc/init.d install -m 0755 %{S:1} $RPM_BUILD_ROOT/etc/init.d/lm_sensors ln -sf /etc/init.d/lm_sensors $RPM_BUILD_ROOT/usr/sbin/rclm_sensors + install -D -m 0644 prog/init/lm_sensors.service %{buildroot}%{_unitdir}/lm_sensors.service +%pre +%service_add_pre lm_sensors.service %post +%service_add_post lm_sensors.service sh -c ' CONFIG=/etc/sysconfig/lm_sensors test -r "$CONFIG" || exit 0 @@ -181,9 +187,11 @@ fi %preun +%service_del_preun lm_sensors.service %{stop_on_removal lm_sensors} %postun +%service_del_postun lm_sensors.service %{insserv_cleanup} %post -n libsensors4 -p /sbin/ldconfig @@ -192,6 +200,7 @@ %files %defattr(-,root,root) +%{_unitdir}/lm_sensors.service /etc/init.d/lm_sensors /usr/sbin/rclm_sensors /usr/bin/* -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org