|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: nss-mdns
|
|
|
|
|
Version: 0.14.1
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
Summary: glibc plugin for .local name resolution
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
@ -46,9 +46,9 @@ function mod_nss() {
|
|
|
|
|
if [ -f "$1" ] ; then
|
|
|
|
|
# sed-fu to add mdns4_minimal to the hosts line of /etc/nsswitch.conf
|
|
|
|
|
sed -i.bak '
|
|
|
|
|
/^hosts:/ !b
|
|
|
|
|
/^hosts:/ !b
|
|
|
|
|
/\<mdns\(4\|6\)\?\(_minimal\)\?\>/ b
|
|
|
|
|
s/\<files\([[:blank:]]\+\)/files\1mdns4_minimal [NOTFOUND=return] /g
|
|
|
|
|
s/\<\(files\( myhostname\)\?[[:blank:]]\+\)/\1mdns4_minimal [NOTFOUND=return] /g
|
|
|
|
|
' "$1"
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
@ -98,6 +98,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Mar 26 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.14.1-11
|
|
|
|
|
- Move 'myhostname' before 'mdns4_minimal' (#1943199)
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|