Hello community, here is the log from the commit of package unbound for openSUSE:Factory checked in at 2019-01-03 18:03:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/unbound (Old) and /work/SRC/openSUSE:Factory/.unbound.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "unbound" Thu Jan 3 18:03:58 2019 rev:33 rq:661959 version:1.8.3 Changes: -------- --- /work/SRC/openSUSE:Factory/unbound/libunbound-devel-mini.changes 2018-12-19 13:25:08.769255437 +0100 +++ /work/SRC/openSUSE:Factory/.unbound.new.28833/libunbound-devel-mini.changes 2019-01-03 18:03:59.700280825 +0100 @@ -1,0 +2,7 @@ +Fri Dec 28 17:16:01 UTC 2018 - Jan Engelhardt <[email protected]> + +- Reorder scriptlet %if guards so that no empty scriptlets are + emitted. Add one missing %if %{with systemd}. +- Replace %__-type macro indirections. + +------------------------------------------------------------------- unbound.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libunbound-devel-mini.spec ++++++ --- /var/tmp/diff_new_pack.IGREVJ/_old 2019-01-03 18:04:00.396280206 +0100 +++ /var/tmp/diff_new_pack.IGREVJ/_new 2019-01-03 18:04:00.396280206 +0100 @@ -89,10 +89,10 @@ --with-libunbound-only \ --with-rootkey-file=%{_sharedstatedir}/unbound/root.key -%{__make} %{?_smp_mflags} +make %{?_smp_mflags} %install -make install DESTDIR="%{buildroot}" +%make_install rm -rf %{buildroot}%{_mandir} %{buildroot}%{_libdir}/*.la %check ++++++ unbound.spec ++++++ --- /var/tmp/diff_new_pack.IGREVJ/_old 2019-01-03 18:04:00.428280177 +0100 +++ /var/tmp/diff_new_pack.IGREVJ/_new 2019-01-03 18:04:00.432280174 +0100 @@ -225,11 +225,10 @@ %endif --with-rootkey-file=%{_sharedstatedir}/unbound/root.key -make %{?_smp_mflags} -make %{?_smp_mflags} streamtcp +make %{?_smp_mflags} all streamtcp %install -make install DESTDIR="%{buildroot}" +%make_install install -d -m 0750 %{buildroot}/var/lib/unbound install -d 0755 %{buildroot}%{_unitdir} install -p -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/unbound.service @@ -306,19 +305,21 @@ make check ||: %pre anchor +%if %{with systemd} %service_add_pre unbound-anchor.service unbound-anchor.timer +%endif getent group unbound >/dev/null || groupadd -r unbound getent passwd unbound >/dev/null || \ useradd -g unbound -s /bin/false -r -c "unbound caching DNS server" \ -d /var/lib/unbound unbound -%pre %if %{with systemd} +%pre %service_add_pre unbound-keygen.service unbound.service %endif -%post anchor %if %{with systemd} +%post anchor %service_add_post unbound-anchor.service unbound-anchor.timer %endif @@ -329,8 +330,8 @@ %service_add_post unbound-keygen.service unbound.service %endif -%preun anchor %if %{with systemd} +%preun anchor %service_del_preun unbound-anchor.service unbound-anchor.timer %endif
