[sanlock/f16] Update to sanlock 1.9
cfeist
cfeist at fedoraproject.org
Tue Jan 17 23:19:23 UTC 2012
commit 654cddffbc20ef52850a9ae86edcb0652ca9424f
Author: Chris Feist <cfeist at redhat.com>
Date: Tue Jan 17 17:19:06 2012 -0600
Update to sanlock 1.9
sanlock.spec | 48 ++++++++++++++++++++++++++++++++++++++----------
1 files changed, 38 insertions(+), 10 deletions(-)
---
diff --git a/sanlock.spec b/sanlock.spec
index a9d5184..a18d413 100644
--- a/sanlock.spec
+++ b/sanlock.spec
@@ -1,12 +1,13 @@
Name: sanlock
-Version: 1.8
-Release: 1%{?dist}
+Version: 1.9
+Release: 2%{?dist}
Summary: A shared disk lock manager
Group: System Environment/Base
License: GPLv2, GPLv2+, LGPLv2+
URL: https://fedorahosted.org/sanlock/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+ExclusiveArch: x86_64
BuildRequires: libblkid-devel libaio-devel python python-devel
Requires: %{name}-lib = %{version}-%{release}
Source0: https://fedorahosted.org/releases/s/a/sanlock/%{name}-%{version}.tar.gz
@@ -37,14 +38,20 @@ make -C wdmd \
make -C python \
install LIBDIR=%{_libdir} \
DESTDIR=$RPM_BUILD_ROOT
-install -D -m 755 init.d/sanlock $RPM_BUILD_ROOT/%{_initddir}/sanlock
-install -D -m 755 init.d/wdmd $RPM_BUILD_ROOT/%{_initddir}/wdmd
+
+install -D -m 0755 init.d/sanlock %{buildroot}/lib/systemd/systemd-sanlock
+install -D -m 0644 init.d/sanlock.service %{buildroot}/%{_unitdir}/sanlock.service
+install -D -m 0755 init.d/wdmd %{buildroot}/lib/systemd/systemd-wdmd
+install -D -m 0644 init.d/wdmd.service %{buildroot}/%{_unitdir}/wdmd.service
+
+install -Dm 0644 src/limits.conf \
+ $RPM_BUILD_ROOT/etc/security/limits.d/90-sanlock.conf
%clean
rm -rf $RPM_BUILD_ROOT
%pre
-/usr/sbin/useradd -u 179 -g 179 -c "sanlock" -s /sbin/nologin -r \
+/usr/sbin/useradd -u 179 -c "sanlock" -s /sbin/nologin -r \
-d /var/run/sanlock sanlock 2> /dev/null || :
%post
@@ -65,12 +72,15 @@ fi
%files
%defattr(-,root,root,-)
-%{_initddir}/sanlock
-%{_initddir}/wdmd
+/lib/systemd/systemd-sanlock
+/lib/systemd/systemd-wdmd
+%{_unitdir}/sanlock.service
+%{_unitdir}/wdmd.service
%{_sbindir}/sanlock
%{_sbindir}/wdmd
%{_mandir}/man8/wdmd*
%{_mandir}/man8/sanlock*
+/etc/security/limits.d/90-sanlock.conf
%package lib
Summary: A shared disk lock manager library
@@ -129,11 +139,29 @@ developing applications that use %{name}.
%{_includedir}/sanlock_direct.h
%changelog
-* Fri Sep 16 2011 Chris Feist <cfeist at redhat.com - 1.8-1
+* Tue Jan 17 2012 Chris Feist <cfeist at redhat.com> - 1.9-2
+- Build for Fedora
+
+* Tue Jan 17 2012 David Teigland <teigland at redhat.com> - 1.9-1
+- Update to sanlock-1.9
+
+* Mon Nov 28 2011 David Teigland <teigland at redhat.com> - 1.8-3
+- only x86_64
+
+* Tue Sep 20 2011 David Teigland <teigland at redhat.com> - 1.8-2
+- fix useradd command in spec file
+
+* Fri Sep 16 2011 David Teigland <teigland at redhat.com> - 1.8-1
- Update to sanlock-1.8
-* Fri Aug 19 2011 Dan HorĂ¡k <dan[at]danny.cz> - 1.6-2
-- build on all arches again
+* Sun Aug 07 2011 Chris Feist <cfeist at redhat.com> - 1.7-4
+- Fix for minor file include issues
+
+* Fri Aug 05 2011 David Teigland <teigland at redhat.com> - 1.7-3
+- fix man page mode
+
+* Fri Aug 05 2011 David Teigland <teigland at redhat.com> - 1.7-1
+- Update to sanlock-1.7
* Fri Jul 08 2011 David Teigland <teigland at redhat.com> - 1.6-1
- Update to sanlock-1.6
More information about the scm-commits
mailing list