- Keep /etc/hostname empty and %ghost it. bnc#934056

OBS-URL: https://build.opensuse.org/package/show/Base:System/netcfg?expand=0&rev=41
This commit is contained in:
Tomáš Chvátal 2015-06-11 15:38:02 +00:00 committed by Git OBS Bridge
parent f2f3223eeb
commit 0219bf791b
3 changed files with 7 additions and 3 deletions

View File

@ -1 +0,0 @@
linux.site

View File

@ -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

View File

@ -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