Hello community,

here is the log from the commit of package netlabel for openSUSE:Factory 
checked in at 2016-12-03 18:27:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/netlabel (Old)
 and      /work/SRC/openSUSE:Factory/.netlabel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "netlabel"

Changes:
--------
--- /work/SRC/openSUSE:Factory/netlabel/netlabel.changes        2015-12-09 
22:25:36.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.netlabel.new/netlabel.changes   2016-12-03 
18:27:48.000000000 +0100
@@ -1,0 +2,13 @@
+Fri Dec  2 13:13:20 UTC 2016 - [email protected]
+
+- Fixed to build on factory and leap-42.2
+  * Removed obsolete --enable-systemd configure option.
+  * Pass explicit --with-systemdsystemunitdir configure option;
+    it is used in the rpm file list anyway and avoids detection
+    in configure using systemd.pc pkg-config query.
+  * Removed unneeded systemd-devel build-require, which does not
+    provide the systemd.pc pkg-config file, but libsystemd files.
+  * Added systemd-rpm-macros build-require for reliable _unitdir.
+- Fixed to call service script macros in the correct package.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ netlabel.spec ++++++
--- /var/tmp/diff_new_pack.fHF2nQ/_old  2016-12-03 18:27:49.000000000 +0100
+++ /var/tmp/diff_new_pack.fHF2nQ/_new  2016-12-03 18:27:49.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package netlabel
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -27,8 +27,8 @@
 Source0:        
https://github.com/netlabel/netlabel_tools/releases/download/v%{version}/netlabel_tools-%{version}.tar.gz
 BuildRequires:  doxygen
 BuildRequires:  pkg-config
+BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(libnl-3.0)
-BuildRequires:  systemd-devel
 # PATCH-FIX-OPENSUSE netlabel_tools-0.20-service.diff [email protected]
 Patch1:         netlabel_tools-0.20-service.diff
 
@@ -61,23 +61,23 @@
 %patch1 -p0
 
 %build
-%configure --enable-systemd
+%configure --with-systemdsystemunitdir=%_unitdir
 
 %install
 %make_install
-install -d -m 0755  "$RPM_BUILD_ROOT%{_sbindir}"
-ln -s %{_sbindir}/service "$RPM_BUILD_ROOT%{_sbindir}/rcnetlabel"
+install -d -m 0755  %{buildroot}%{_sbindir}
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcnetlabel
 
-%pre
+%pre tools
 %service_add_pre netlabel.service
 
-%post
+%post tools
 %service_add_post netlabel.service
 
-%preun
+%preun tools
 %service_del_preun netlabel.service
 
-%postun
+%postun tools
 %service_del_postun netlabel.service
 
 %files tools


Reply via email to