Hello community,

here is the log from the commit of package dnsmasq for openSUSE:12.3 checked in 
at 2013-02-25 20:34:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3/dnsmasq (Old)
 and      /work/SRC/openSUSE:12.3/.dnsmasq.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dnsmasq", Maintainer is "m...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:12.3/dnsmasq/dnsmasq.changes     2013-01-31 
01:15:05.000000000 +0100
+++ /work/SRC/openSUSE:12.3/.dnsmasq.new/dnsmasq.changes        2013-02-25 
20:34:06.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Feb 22 12:53:03 UTC 2013 - rmila...@suse.com
+
+- Install dnsmasq.service accordingly (/usr/lib/systemd for 12.3
+  and up or /lib/systemd for older versions).
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ dnsmasq.spec ++++++
--- /var/tmp/diff_new_pack.dDH2Y1/_old  2013-02-25 20:34:07.000000000 +0100
+++ /var/tmp/diff_new_pack.dDH2Y1/_new  2013-02-25 20:34:07.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package dnsmasq
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -39,6 +39,12 @@
 
 %{?systemd_requires}
 
+%if %suse_version > 1220
+%define         _unitdir /usr/lib/systemd
+%else
+%define         _unitdir /lib/systemd
+%endif
+
 %description
 Dnsmasq is a lightweight, easy-to-configure DNS forwarder and DHCP
 server. It is designed to provide DNS and, optionally, DHCP, to a small
@@ -103,7 +109,7 @@
 install -m 644 SuSEFirewall.dnsmasq-dhcp 
${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/dnsmasq-dhcp
 install -d 755 ${RPM_BUILD_ROOT}/etc/dbus-1/system.d/
 install -m 644 dbus/dnsmasq.conf 
${RPM_BUILD_ROOT}/etc/dbus-1/system.d/dnsmasq.conf
-install -D -m 0644 %SOURCE2 %{buildroot}/lib/systemd/system/dnsmasq.service
+install -D -m 0644 %SOURCE2 %{buildroot}%{_unitdir}/system/dnsmasq.service
 install -d -m 0750 ${RPM_BUILD_ROOT}/srv/tftpboot
 %find_lang %{name} --with-man
 
@@ -120,7 +126,7 @@
 %config %attr(0644,root,root) /%{_sysconfdir}/slp.reg.d/dnsmasq.reg
 %{_mandir}/man8/dnsmasq.8.gz
 /etc/dbus-1/system.d/dnsmasq.conf
-/lib/systemd/system/dnsmasq.service
+%{_unitdir}/system/dnsmasq.service
 %dir %attr(0750,root,tftp) /srv/tftpboot
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to