From 90920e723da46df3babbd19c2394ecb52aeeba40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 26 Mar 2021 20:40:47 +0100 Subject: [PATCH] Move nss-myhostname before nss-mdns4 Tested with nss-mdns installed after systemd and before or just systemd or just nss-mdns. --- nss-mdns.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/nss-mdns.spec b/nss-mdns.spec index b679066..52e04c5 100644 --- a/nss-mdns.spec +++ b/nss-mdns.spec @@ -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 /\/ b - s/\ - 0.14.1-11 +- Move 'myhostname' before 'mdns4_minimal' (#1943199) + * Tue Jan 26 2021 Fedora Release Engineering - 0.14.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild