update to 0.14.1 [release 0.14.1-1mamba;Sat May 01 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 05:14:24 +01:00
parent d3f6f81445
commit 13fe61f356

View File

@ -1,18 +1,18 @@
Name: libnss_mdns Name: libnss_mdns
Version: 0.10 Version: 0.14.1
Release: 2mamba Release: 1mamba
Summary: A plugin for the GNU Name Service Switch (NSS) functionality providing host name resolution via Multicast DNS Summary: A plugin for the GNU Name Service Switch (NSS) functionality providing host name resolution via Multicast DNS
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://0pointer.de/lennart/projects/nss-mdns/ URL: https://github.com/lathiat/nss-mdns
Source: http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-%{version}.tar.gz Source: https://github.com/lathiat/nss-mdns.git/v%{version}/nss-mdns-%{version}.tar.bz2
#Source: http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-%{version}.tar.gz
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %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 name resolution by common Unix/Linux programs in the ad-hoc mDNS domain .local. 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 name resolution by common Unix/Linux programs in the ad-hoc mDNS domain .local.
@ -21,11 +21,11 @@ nss-mdns is a plugin for the GNU Name Service Switch (NSS) functionality of the
%prep %prep
%setup -q -n nss-mdns-%{version} %setup -q -n nss-mdns-%{version}
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub #sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
./bootstrap.sh
%build %build
%configure \ %configure \
--libdir=/%{_lib} \
--localstatedir=/ --localstatedir=/
%make %make
@ -39,15 +39,18 @@ sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%files %files
%defattr(-,root,root) %defattr(-,root,root)
/%{_lib}/libnss_mdns.so.2 %{_libdir}/libnss_mdns.so.*
/%{_lib}/libnss_mdns4.so.2 %{_libdir}/libnss_mdns4.so.*
/%{_lib}/libnss_mdns4_minimal.so.2 %{_libdir}/libnss_mdns4_minimal.so.*
/%{_lib}/libnss_mdns6.so.2 %{_libdir}/libnss_mdns6.so.*
/%{_lib}/libnss_mdns6_minimal.so.2 %{_libdir}/libnss_mdns6_minimal.so.*
/%{_lib}/libnss_mdns_minimal.so.2 %{_libdir}/libnss_mdns_minimal.so.*
%doc LICENSE %doc LICENSE
%changelog %changelog
* Sat May 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.1-1mamba
- update to 0.14.1
* Wed Apr 30 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10-2mamba * Wed Apr 30 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10-2mamba
- rebuilt with --libdir=/%{_lib} to refer to avahi socket under /run instead of /var/run - rebuilt with --libdir=/%{_lib} to refer to avahi socket under /run instead of /var/run
- also install in --prefix=/ - also install in --prefix=/