|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: nss-mdns
|
|
|
|
Name: nss-mdns
|
|
|
|
Version: 0.14.1
|
|
|
|
Version: 0.14.1
|
|
|
|
Release: 10%{?dist}
|
|
|
|
Release: 11%{?dist}
|
|
|
|
Summary: glibc plugin for .local name resolution
|
|
|
|
Summary: glibc plugin for .local name resolution
|
|
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
@ -46,9 +46,9 @@ function mod_nss() {
|
|
|
|
if [ -f "$1" ] ; then
|
|
|
|
if [ -f "$1" ] ; then
|
|
|
|
# sed-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
|
|
|
|
sed -i.bak '
|
|
|
|
sed -i.bak '
|
|
|
|
/^hosts:/ !b
|
|
|
|
/^hosts:/ !b
|
|
|
|
/\<mdns\(4\|6\)\?\(_minimal\)\?\>/ 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"
|
|
|
|
' "$1"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -98,6 +98,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|