Hello community,

here is the log from the commit of package nss-mdns for openSUSE:Factory 
checked in at 2018-03-08 10:49:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nss-mdns (Old)
 and      /work/SRC/openSUSE:Factory/.nss-mdns.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nss-mdns"

Thu Mar  8 10:49:03 2018 rev:27 rq:582854 version:0.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/nss-mdns/nss-mdns.changes        2014-10-25 
08:32:48.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nss-mdns.new/nss-mdns.changes   2018-03-08 
10:49:05.111511826 +0100
@@ -1,0 +2,5 @@
+Wed Feb 28 16:37:57 UTC 2018 - [email protected]
+
+- Modernize spec-file by calling spec-cleaner
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ nss-mdns.spec ++++++
--- /var/tmp/diff_new_pack.ltGYuJ/_old  2018-03-08 10:49:05.687491089 +0100
+++ /var/tmp/diff_new_pack.ltGYuJ/_new  2018-03-08 10:49:05.687491089 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nss-mdns
 #
-# Copyright (c) 2014 SUSE LINUX Products 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
@@ -21,18 +21,19 @@
 #BuildRequires:  lynx
 Version:        0.10
 Release:        0
-Url:            http://0pointer.de/lennart/projects/nss-mdns/
 Summary:        Host Name Resolution Via Multicast DNS (Zeroconf) for glibc
-License:        LGPL-2.1+
+License:        LGPL-2.1-or-later
 Group:          Productivity/Networking/DNS/Utilities
+URL:            http://0pointer.de/lennart/projects/nss-mdns/
 Source:         
http://0pointer.de/lennart/projects/nss-mdns/%{name}-%{version}.tar.gz
 Source1:        nss-mdns-config
 Source2:        baselibs.conf
-Patch:          unaligned.diff
-# needed by nss-mdns-config
-PreReq:         sed grep
+Patch0:         unaligned.diff
 Requires:       avahi
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+# FIXME: use proper Requires(pre/post/preun/...)
+PreReq:         grep
+# needed by nss-mdns-config
+PreReq:         sed
 
 %description
 nss-mdns is a plug-in for the GNU Name Service Switch (NSS)
@@ -50,13 +51,13 @@
 
 %prep
 %setup -q
-%patch
+%patch0
 
 %build
 %configure --libdir=/%{_lib}
 
 %install
-%makeinstall
+%make_install
 install -D -m0755 %{SOURCE1} %{buildroot}%{_sbindir}/nss-mdns-config
 
 %post
@@ -72,12 +73,11 @@
     nss-mdns-config --disable
 fi
 
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
-%doc LICENSE README doc/*.html doc/*.css
+%license LICENSE
+%doc README doc/*.html doc/*.css
 %{_sbindir}/nss-mdns-config
 /%{_lib}/libnss_mdns.so.2
 /%{_lib}/libnss_mdns_minimal.so.2
@@ -86,7 +86,4 @@
 /%{_lib}/libnss_mdns6.so.2
 /%{_lib}/libnss_mdns6_minimal.so.2
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %changelog


Reply via email to