forked from pool/netcfg
Accepting request 806801 from Base:System
OBS-URL: https://build.opensuse.org/request/show/806801 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netcfg?expand=0&rev=47
This commit is contained in:
commit
c645a9231f
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 18 07:58:08 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- Create /etc/exports.d directory (boo#1094328)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 5 08:52:35 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
|
12
netcfg.spec
12
netcfg.spec
@ -45,6 +45,7 @@ Source101: services-compare.sh
|
||||
Source102: services-create.pl
|
||||
Source103: services_UPDATING
|
||||
Patch0: services-suse.diff
|
||||
BuildRequires: libnss_usrfiles2
|
||||
Requires: libnss_usrfiles2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
@ -74,12 +75,14 @@ bunzip2 %{buildroot}%{_prefix}%{_sysconfdir}/services.bz2
|
||||
patch -p0 %{buildroot}%{_prefix}%{_sysconfdir}/services < $RPM_SOURCE_DIR/services-suse.diff
|
||||
rm -f %{buildroot}%{_prefix}%{_sysconfdir}/services.orig
|
||||
|
||||
install -d -m 0755 %{buildroot}/%{_sysconfdir}/exports.d
|
||||
|
||||
%files
|
||||
%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) %config(noreplace) %{_sysconfdir}/defaultdomain
|
||||
%verify(not md5 size mtime) %{_distconfdir}/ethers
|
||||
%verify(not md5 size mtime) %{_prefix}%{_sysconfdir}/ethers
|
||||
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/exports
|
||||
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/ftpusers
|
||||
%config(noreplace) %{_sysconfdir}/host.conf
|
||||
@ -89,10 +92,11 @@ rm -f %{buildroot}%{_prefix}%{_sysconfdir}/services.orig
|
||||
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts.equiv
|
||||
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts.lpd
|
||||
%config(noreplace) %{_sysconfdir}/netgroup
|
||||
%{_distconfdir}/networks
|
||||
%{_distconfdir}/protocols
|
||||
%{_distconfdir}/services
|
||||
%{_prefix}%{_sysconfdir}/networks
|
||||
%{_prefix}%{_sysconfdir}/protocols
|
||||
%{_prefix}%{_sysconfdir}/services
|
||||
%config(noreplace) %{_sysconfdir}/ethertypes
|
||||
%dir %{_sysconfdir}/exports.d
|
||||
%license COPYING
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user