Hello community,

here is the log from the commit of package dnsmasq for openSUSE:Factory checked 
in at 2018-07-25 16:05:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dnsmasq (Old)
 and      /work/SRC/openSUSE:Factory/.dnsmasq.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dnsmasq"

Wed Jul 25 16:05:09 2018 rev:66 rq:623240 version:2.78

Changes:
--------
--- /work/SRC/openSUSE:Factory/dnsmasq/dnsmasq.changes  2017-12-08 
21:47:42.798230005 +0100
+++ /work/SRC/openSUSE:Factory/.dnsmasq.new/dnsmasq.changes     2018-07-25 
16:05:29.573014352 +0200
@@ -1,0 +2,8 @@
+Mon Jul 16 10:15:54 CEST 2018 - ku...@suse.de
+
+- Don't require systemd explicit, fix spec file to handle both
+  cases correct. In containers we don't have systemd.
+- Adjust pre/post install for transactional updates.
+- Use %license instead of %doc [bsc#1082318]
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dnsmasq.spec ++++++
--- /var/tmp/diff_new_pack.pwV6Vi/_old  2018-07-25 16:05:30.037015284 +0200
+++ /var/tmp/diff_new_pack.pwV6Vi/_new  2018-07-25 16:05:30.037015284 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package dnsmasq
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 Name:           dnsmasq
 Summary:        Lightweight, Easy-to-Configure DNS Forwarder and DHCP Server
-License:        GPL-2.0 or GPL-3.0
+License:        GPL-2.0-only OR GPL-3.0-only
 Group:          Productivity/Networking/DNS/Servers
 Version:        2.78
 Release:        0
@@ -45,7 +45,6 @@
 %if 0%{?suse_version} >= 1210
 BuildRequires:  systemd
 %endif
-%{?systemd_requires}
 
 %description
 Dnsmasq is a lightweight, easy-to-configure DNS forwarder and DHCP
@@ -122,7 +121,9 @@
 %post
 %service_add_post %{name}.service
 # reload dbus after install or upgrade to apply new policies
-/usr/bin/systemctl reload dbus.service 2>/dev/null || :
+if [ -z "${TRANSACTIONAL_UPDATE}" -a -x /usr/bin/systemctl ]; then
+        /usr/bin/systemctl reload dbus.service 2>/dev/null || :
+fi
 
 %preun
 %service_del_preun %{name}.service
@@ -130,7 +131,8 @@
 %postun
 %service_del_postun %{name}.service
 # reload dbus after uninstall, our policies are gone again
-if [ ${FIRST_ARG:-$1} -eq 0 ]; then
+if [ ${FIRST_ARG:-$1} -eq 0 -a -z "${TRANSACTIONAL_UPDATE}" \
+     -a -x /usr/bin/systemctl ]; then
         /usr/bin/systemctl reload dbus.service 2>/dev/null || :
 fi
 
@@ -167,7 +169,8 @@
 
 %files -f %{name}.lang
 %defattr(-,root,root,-)
-%doc CHANGELOG COPYING COPYING-v3 FAQ doc.html setup.html dnsmasq.conf.example 
contrib dbus
+%license COPYING COPYING-v3
+%doc CHANGELOG FAQ doc.html setup.html dnsmasq.conf.example contrib dbus
 %config(noreplace) %{_sysconfdir}/dnsmasq.conf
 %{_sbindir}/dnsmasq
 %{_sbindir}/rcdnsmasq




Reply via email to