This is an automated email from the git hooks/post-receive script.
nsoffer pushed a commit to branch master
in repository sanlock.
commit c47fee4ed5a1608f4199c344338744883a3afd6f
Author: Nir Soffer <nsoffer(a)redhat.com>
AuthorDate: Wed May 22 22:48:50 2019 +0300
build: Replace %{_localstatedir}/run with %{_rundir}
Completing the move from /var/run to /run, update the development spec.
This change should be backported later to Fedora and RHEL specs.
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
sanlock.spec.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sanlock.spec.in b/sanlock.spec.in
index cf72ad4..e085152 100644
--- a/sanlock.spec.in
+++ b/sanlock.spec.in
@@ -83,8 +83,8 @@ install -D -m 0644 init.d/wdmd.sysconfig \
$RPM_BUILD_ROOT/etc/sysconfig/wdmd
install -Dd -m 0755 $RPM_BUILD_ROOT/etc/wdmd.d
-install -Dd -m 0775 $RPM_BUILD_ROOT/%{_localstatedir}/run/sanlock
-install -Dd -m 0775 $RPM_BUILD_ROOT/%{_localstatedir}/run/sanlk-resetd
+install -Dd -m 0775 $RPM_BUILD_ROOT/%{_rundir}/sanlock
+install -Dd -m 0775 $RPM_BUILD_ROOT/%{_rundir}/sanlk-resetd
%pre
getent group sanlock > /dev/null || /usr/sbin/groupadd \
@@ -111,7 +111,7 @@ getent passwd sanlock > /dev/null || /usr/sbin/useradd \
%{_sbindir}/wdmd
%dir %{_sysconfdir}/wdmd.d
%dir %{_sysconfdir}/sanlock
-%dir %attr(-,sanlock,sanlock) %{_localstatedir}/run/sanlock
+%dir %attr(-,sanlock,sanlock) %{_rundir}/sanlock
%{_mandir}/man8/wdmd*
%{_mandir}/man8/sanlock*
%config(noreplace) %{_sysconfdir}/logrotate.d/sanlock
@@ -193,7 +193,7 @@ common sanlock lockspace.
%{_sbindir}/sanlk-reset
%{_sbindir}/sanlk-resetd
%{_unitdir}/sanlk-resetd.service
-%dir %attr(-,root,root) %{_localstatedir}/run/sanlk-resetd
+%dir %attr(-,root,root) %{_rundir}/sanlk-resetd
%{_mandir}/man8/sanlk-reset*
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by thread