[packages/sanlock] - updated to 3.3.0
qboosh
qboosh at pld-linux.org
Tue Apr 5 21:21:12 CEST 2016
commit 74dea56f481220bbb07a0fc26133505a1f694491
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Apr 5 21:21:27 2016 +0200
- updated to 3.3.0
sanlock.spec | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/sanlock.spec b/sanlock.spec
index 6255bec..be46008 100644
--- a/sanlock.spec
+++ b/sanlock.spec
@@ -1,14 +1,14 @@
Summary: Shared storage lock manager
Summary(pl.UTF-8): Zarządca blokad dla współdzielonego składowania danych
Name: sanlock
-Version: 3.2.4
-Release: 2
+Version: 3.3.0
+Release: 1
License: LGPL v2+ (libsanlock_client, libwdmd), GPL v2 (libsanlock, utilities)
Group: Networking
# older releases: https://fedorahosted.org/releases/s/a/sanlock/%{name}-%{version}.tar.gz
#Source0Download: https://git.fedorahosted.org/cgit/sanlock.git/
Source0: https://git.fedorahosted.org/cgit/sanlock.git/snapshot/%{name}-%{version}.tar.xz
-# Source0-md5: 567ab7aa5863ab56770c6f12ca4e41a3
+# Source0-md5: f28d7ec71f5f063414099d804e00e423
Patch0: %{name}-link.patch
Patch1: %{name}-init-pld.patch
URL: https://fedorahosted.org/sanlock/
@@ -140,7 +140,10 @@ CFLAGS= \
LDFLAGS="%{rpmldflags}" \
OPTIMIZE_FLAG="%{rpmcflags}"
-%{__make} -C python
+# note (as of 3.3.0): python3 is not supported
+cd python
+%py_build
+cd ..
%install
rm -rf $RPM_BUILD_ROOT
@@ -160,8 +163,9 @@ rm -rf $RPM_BUILD_ROOT
%{__make} -C reset install \
DESTDIR=$RPM_BUILD_ROOT
-%{__make} -C python install \
- DESTDIR=$RPM_BUILD_ROOT
+cd python
+%py_install
+cd ..
/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sanlock.git/commitdiff/74dea56f481220bbb07a0fc26133505a1f694491
More information about the pld-cvs-commit
mailing list