sanlock.spec | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
New commits:
commit d98ec76595e90df6031535d05199c45ccecafb52
Author: David Teigland <teigland(a)redhat.com>
Date: Fri Jun 15 09:28:12 2012 -0500
sanlock.spec: require useradd and groupadd
Signed-off-by: David Teigland <teigland(a)redhat.com>
diff --git a/sanlock.spec b/sanlock.spec
index 9a5a586..b2534c4 100644
--- a/sanlock.spec
+++ b/sanlock.spec
@@ -1,6 +1,6 @@
Name: sanlock
Version: 2.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A shared disk lock manager
Group: System Environment/Base
@@ -9,12 +9,10 @@ URL:
https://fedorahosted.org/sanlock/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libblkid-devel libaio-devel python python-devel
Requires: %{name}-lib = %{version}-%{release}
+Requires(pre): /usr/sbin/groupadd
+Requires(pre): /usr/sbin/useradd
Source0:
https://fedorahosted.org/releases/s/a/sanlock/%{name}-%{version}.tar.gz
-%if 0%{?rhel}
-ExclusiveArch: x86_64
-%endif
-
%description
sanlock uses disk paxos to manage leases on shared storage.
Hosts connected to a common SAN can use this to synchronize their
@@ -179,6 +177,9 @@ developing applications that use %{name}.
%{_includedir}/sanlock_direct.h
%changelog
+* Fri Jun 15 2012 David Teigland <teigland(a)redhat.com> - 2.3-3
+- Require useradd and groupadd
+
* Mon Jun 04 2012 David Teigland <teigland(a)redhat.com> - 2.3-2
- Remove exclusive arch