#1 v0.11
Closed 5 years ago by agoode. Opened 6 years ago by agoode.
Unknown source master  into  master

v0.11
Adam Goode • 6 years ago  
file modified
+1 -1
@@ -1,1 +1,1 @@

- nss-mdns-0.10.tar.gz

+ /nss-mdns-0.11.tar.gz

file modified
+29 -21
@@ -1,41 +1,44 @@

- Summary: glibc plugin for .local name resolution

  Name: nss-mdns

- Version: 0.10

- Release: 20%{?dist}

+ Version: 0.11

+ Release: 1%{?dist}

+ Summary: glibc plugin for .local name resolution

+ 

  License: LGPLv2+

- URL: http://0pointer.de/lennart/projects/nss-mdns/

- Group: System Environment/Libraries

- Source: http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-%{version}.tar.gz

- BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

+ URL: https://github.com/lathiat/nss-mdns

+ Source0: https://github.com/lathiat/nss-mdns/releases/download/v%{version}/nss-mdns-%{version}.tar.gz

+ 

+ BuildRequires: pkgconfig(check)

  Requires: avahi

-  

+ 

  %description

  nss-mdns is a plugin for the GNU Name Service Switch (NSS) functionality of

  the GNU C Library (glibc) providing host name resolution via Multicast DNS

- (aka Zeroconf, aka Apple Rendezvous, aka Apple Bonjour), effectively allowing 

+ (aka Zeroconf, aka Apple Rendezvous, aka Apple Bonjour), effectively allowing

  name resolution by common Unix/Linux programs in the ad-hoc mDNS domain .local.

  

  nss-mdns provides client functionality only, which means that you have to

  run a mDNS responder daemon separately from nss-mdns if you want to register

  the local host name via mDNS (e.g. Avahi).

  

+ 

  %prep

- %setup -q

+ %autosetup

  

  %build

- %configure --libdir=/%{_lib} --enable-avahi=yes --enable-legacy=no

- make %{?_smp_mflags}

+ %configure --libdir=/%{_lib}

+ %make_build

+ 

+ %check

+ make check

  

  %install

  rm -rf $RPM_BUILD_ROOT

- make DESTDIR=$RPM_BUILD_ROOT install

+ %make_install

  

- %clean

- rm -rf $RPM_BUILD_ROOT

  

  %post

  /sbin/ldconfig

- # Perl-fu to add mdns4_minimal to the hosts line of /etc/nsswitch.conf

+ # sed-fu to add mdns4_minimal to the hosts line of /etc/nsswitch.conf

  if [ -f /etc/nsswitch.conf ] ; then

  	sed -i.bak '

  		/^hosts:/ !b
@@ -55,12 +58,18 @@

  

  %postun -p /sbin/ldconfig

  

+ 

  %files

- %defattr(-, root, root)

- %doc README

- /%{_lib}/*

+ %license LICENSE

+ %doc README.md NEWS.md ACKNOWLEDGEMENTS.md

+ /%{_lib}/*.so.*

+ 

  

  %changelog

+ * Thu Jan 25 2018 Adam Goode <adam@spicenitz.org> - 0.11-1

+ - New upstream release

+ - Modernize the spec file

+ 

  * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-20

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

  
@@ -122,7 +131,7 @@

  - Rebuild for selinux ppc32 issue.

  

  * Fri Jun 22 2007 - Lennart Poettering <lpoetter@redhat.com> - 0.10-2

- - Fix up post/preun/postun dependencies, add "avahi" to the dependencies, 

+ - Fix up post/preun/postun dependencies, add "avahi" to the dependencies,

    include dist tag in Release field, use _lib directory instead of literal /lib.

  

  * Fri Jun 22 2007 - Lennart Poettering <lpoetter@redhat.com> - 0.10-1
@@ -148,4 +157,3 @@

  

  * Tue Dec 07 2004 - Bastien Nocera <hadess@hadess.net> 0.1-1

  - Initial package, automatically adds and remove mdns4 as a hosts service

- 

file modified
+1 -1
@@ -1,1 +1,1 @@

- 03938f17646efbb50aa70ba5f99f51d7  nss-mdns-0.10.tar.gz

+ SHA512 (nss-mdns-0.11.tar.gz) = 9dceb0f244c4cd27b04ca2014637873a0d137464c26780dfdb228502b06b310991494b115e42e1057c45478361d0e441ec73099fbf56a13a5933618b72390af4

This is a new upstream release.

Pull-Request has been closed by agoode

5 years ago