Accepting request 1127713 from home:kukuk:branches:Base:System
- Remove empty netgroup example file from /etc [jsc#PED-240]. NIS, the main consumer, got already dropped. - Remove empty ethers example file, /usr/etc should not contain examples, for the format there is the manual page, does not support IPv6. OBS-URL: https://build.opensuse.org/request/show/1127713 OBS-URL: https://build.opensuse.org/package/show/Base:System/netcfg?expand=0&rev=77
This commit is contained in:
parent
9e3ac97b17
commit
fe02395e66
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 20 14:00:02 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Remove empty netgroup example file from /etc [jsc#PED-240].
|
||||
NIS, the main consumer, got already dropped.
|
||||
- Remove empty ethers example file, /usr/etc should not contain
|
||||
examples, for the format there is the manual page, does not
|
||||
support IPv6.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 4 09:45:23 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
|
@ -30,8 +30,6 @@ Source10: protocols
|
||||
Source11: services.bz2
|
||||
Source12: hostname
|
||||
Source13: aliases
|
||||
Source14: ethers
|
||||
Source15: netgroup
|
||||
Source16: COPYING
|
||||
Source17: ethertypes
|
||||
Source100: services-compare.pl
|
||||
@ -58,11 +56,11 @@ cp %{SOURCE16} .
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_sysconfdir}
|
||||
for i in hostname aliases exports host.conf hosts netgroup ethertypes; do
|
||||
for i in hostname aliases exports host.conf hosts ethertypes; do
|
||||
install $RPM_SOURCE_DIR/$i %{buildroot}/%{_sysconfdir}
|
||||
done
|
||||
mkdir -p %{buildroot}%{_prefix}%{_sysconfdir}
|
||||
for i in networks protocols services.bz2 ethers; do
|
||||
for i in networks protocols services.bz2; do
|
||||
install $RPM_SOURCE_DIR/$i %{buildroot}%{_prefix}%{_sysconfdir}
|
||||
done
|
||||
bunzip2 %{buildroot}%{_prefix}%{_sysconfdir}/services.bz2
|
||||
@ -75,11 +73,9 @@ install -d -m 0755 %{buildroot}/%{_sysconfdir}/exports.d
|
||||
%defattr(644,root,root,755)
|
||||
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hostname
|
||||
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/aliases
|
||||
%verify(not md5 size mtime) %{_prefix}%{_sysconfdir}/ethers
|
||||
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/exports
|
||||
%config(noreplace) %{_sysconfdir}/host.conf
|
||||
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts
|
||||
%config(noreplace) %{_sysconfdir}/netgroup
|
||||
%{_prefix}%{_sysconfdir}/networks
|
||||
%{_prefix}%{_sysconfdir}/protocols
|
||||
%{_prefix}%{_sysconfdir}/services
|
||||
|
Loading…
Reference in New Issue
Block a user