Move rpc.yppasswdd.env into /usr/libexec

This commit is contained in:
Honza Horák 2012-11-30 13:12:00 +01:00
parent 2f07f94fb9
commit 902433e573
2 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,7 @@ NotifyAccess=all
EnvironmentFile=-/etc/sysconfig/network
EnvironmentFile=-/etc/sysconfig/yppasswdd
ExecStartPre=/usr/libexec/yppasswdd-pre-setdomain
ExecStart=/usr/sbin/rpc.yppasswdd.env
ExecStart=/usr/libexec/rpc.yppasswdd.env
[Install]
WantedBy=multi-user.target

View File

@ -130,7 +130,7 @@ EOF
# (ETCDIR, PASSWDFILE and SHADOWFILE). The script ensures, that the
# rpc.yppasswdd arguments are not used when the appropriate environment
# variables are empty.
install -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{_sbindir}/rpc.yppasswdd.env
install -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{_libexecdir}/rpc.yppasswdd.env
%post
%if 0%{?systemd_post:1}
@ -214,6 +214,7 @@ NOPUSH=true make -eC /var/yp >&2 || :
%changelog
* Fri Nov 30 2012 Honza Horak <hhorak@redhat.com> - 2.29-5
- Build daemons and yppush with full relro
- Move rpc.yppasswdd.env into /usr/libexec
* Fri Nov 09 2012 Honza Horak <hhorak@redhat.com> - 2.29-4
- Add missing break in switch