Hello community, here is the log from the commit of package sbd for openSUSE:Factory checked in at 2018-02-09 15:52:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sbd (Old) and /work/SRC/openSUSE:Factory/.sbd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sbd" Fri Feb 9 15:52:03 2018 rev:22 rq:574442 version:1.3.1+20180202.cc3e4cb Changes: -------- --- /work/SRC/openSUSE:Factory/sbd/sbd.changes 2018-02-06 16:48:56.360671447 +0100 +++ /work/SRC/openSUSE:Factory/.sbd.new/sbd.changes 2018-02-09 15:52:04.245641167 +0100 @@ -1,0 +2,6 @@ +Mon Feb 5 20:29:02 UTC 2018 - [email protected] + +- Combine %service_* calls to reduce amount of generated code. +- Use %make_install, and make sure directories are owned. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sbd.spec ++++++ --- /var/tmp/diff_new_pack.xnmhNL/_old 2018-02-09 15:52:05.929580683 +0100 +++ /var/tmp/diff_new_pack.xnmhNL/_new 2018-02-09 15:52:05.933580539 +0100 @@ -49,7 +49,6 @@ %{?systemd_requires} %description - This package contains the storage-based death functionality. %prep @@ -61,7 +60,7 @@ make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} LIBDIR=%{_libdir} install +%make_install LIBDIR=%{_libdir} install -D -m 0755 src/sbd.sh %{buildroot}%{_datadir}/sbd/sbd.sh install -D -m 0644 src/sbd.service %{buildroot}/%{_unitdir}/sbd.service install -D -m 0644 src/sbd_remote.service %{buildroot}/%{_unitdir}/sbd_remote.service @@ -71,28 +70,24 @@ install -m 0644 src/sbd.sysconfig %{buildroot}%{_fillupdir}/sysconfig.sbd %post -%service_add_post sbd.service -%service_add_post sbd_remote.service +%service_add_post sbd.service sbd_remote.service if [ ! -e %{_sysconfdir}/sysconfig/sbd ]; then %fillup_only sbd fi %pre -%service_add_pre sbd.service -%service_add_pre sbd_remote.service +%service_add_pre sbd.service sbd_remote.service %preun -%service_del_preun -n sbd.service -%service_del_preun -n sbd_remote.service +%service_del_preun -n sbd.service sbd_remote.service %postun -%service_del_postun -n sbd.service -%service_del_postun -n sbd_remote.service +%service_del_postun -n sbd.service sbd_remote.service %files %defattr(-,root,root) -%{_libdir}/stonith/plugins/external/sbd +%{_libdir}/stonith/ %{_sbindir}/sbd %{_sbindir}/rcsbd %{_sbindir}/rcsbd_remote
