parent
87e6f907eb
commit
d733717f89
@ -2,7 +2,7 @@
|
||||
[Unit]
|
||||
Description=NIS/YP (Network Information Service) Clients to NIS Domain Binder
|
||||
Requires=rpcbind.service
|
||||
After=syslog.target network.target rpcbind.service ypserv.service NetworkManager-wait-online.service
|
||||
After=syslog.target network-online.target rpcbind.service ypserv.service NetworkManager-wait-online.service
|
||||
Before=systemd-user-sessions.service
|
||||
|
||||
[Service]
|
||||
|
10
ypbind.spec
10
ypbind.spec
@ -2,7 +2,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain
|
||||
Name: ypbind
|
||||
Epoch: 3
|
||||
Version: 1.37.1
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Daemons
|
||||
Source0: http://www.linux-nis.org/download/ypbind-mt/ypbind-mt-%{version}.tar.bz2
|
||||
@ -66,7 +66,7 @@ make
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/var/yp/binding
|
||||
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/yp/binding
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dhcp/dhclient.d
|
||||
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
|
||||
@ -94,10 +94,14 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/ypbind-post-waitbind
|
||||
%{_unitdir}/*
|
||||
%{_sysconfdir}/dhcp/dhclient.d/*
|
||||
%config(noreplace) %{_sysconfdir}/yp.conf
|
||||
%dir /var/yp/binding
|
||||
%dir %{_localstatedir}/yp/binding
|
||||
%doc README NEWS COPYING
|
||||
|
||||
%changelog
|
||||
* Thu Aug 29 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-7
|
||||
- Add network-online.target dependency
|
||||
Resolves: #1002295
|
||||
|
||||
* Mon Aug 19 2013 Honza Horak <hhorak@redhat.com> - 3:1.37.1-6
|
||||
- Improve systemd documentation
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user