Move nss-myhostname before nss-mdns4

Tested with nss-mdns installed after systemd and before
or just systemd or just nss-mdns.
epel9
Zbigniew Jędrzejewski-Szmek 4 years ago
parent de31b1d209
commit 90920e723d

@ -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+
@ -48,7 +48,7 @@ function mod_nss() {
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

Loading…
Cancel
Save