Signed-off-by: Federico Simoncelli <fsimonce(a)redhat.com>
---
sanlock.spec | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/sanlock.spec b/sanlock.spec
index 56b861c..4f37046 100644
--- a/sanlock.spec
+++ b/sanlock.spec
@@ -1,6 +1,6 @@
Name: sanlock
Version: 2.3
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: A shared disk lock manager
Group: System Environment/Base
@@ -60,6 +60,8 @@ install -Dm 0644 src/logrotate.sanlock \
install -Dm 0644 src/sysconfig.sanlock \
$RPM_BUILD_ROOT/etc/sysconfig/sanlock
+install -Dd -m 775 $RPM_BUILD_ROOT/%{_localstatedir}/run/sanlock
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -119,6 +121,7 @@ fi
%endif
%{_sbindir}/sanlock
%{_sbindir}/wdmd
+%dir %attr(-,sanlock,sanlock) %{_localstatedir}/run/sanlock
%{_mandir}/man8/wdmd*
%{_mandir}/man8/sanlock*
%config(noreplace) %{_sysconfdir}/logrotate.d/sanlock
--
1.7.1
Show replies by date