From 0219bf791bc0d6ba9a24e13b8b43176be89cad553fa15322d6685850c949c95f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 11 Jun 2015 15:38:02 +0000 Subject: [PATCH] - Keep /etc/hostname empty and %ghost it. bnc#934056 OBS-URL: https://build.opensuse.org/package/show/Base:System/netcfg?expand=0&rev=41 --- hostname | 1 - netcfg.changes | 5 +++++ netcfg.spec | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/hostname b/hostname index 0d0f6b4..473a0f4 100644 --- a/hostname +++ b/hostname @@ -1 +0,0 @@ -linux.site diff --git a/netcfg.changes b/netcfg.changes index 087a7f9..d480b31 100644 --- a/netcfg.changes +++ b/netcfg.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 11 15:37:35 UTC 2015 - tchvatal@suse.com + +- Keep /etc/hostname empty and %ghost it. bnc#934056 + ------------------------------------------------------------------- Wed Dec 17 10:32:15 UTC 2014 - tchvatal@suse.com diff --git a/netcfg.spec b/netcfg.spec index 8e013b4..83d1565 100644 --- a/netcfg.spec +++ b/netcfg.spec @@ -1,7 +1,7 @@ # # spec file for package netcfg # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -101,7 +101,7 @@ exit 0 %files %defattr(644,root,root,755) -%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hostname +%ghost %{_sysconfdir}/hostname %{_sysconfdir}/HOSTNAME %verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/aliases %verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/defaultdomain