[packages/cryptlib] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:24:54 CET 2015


commit 2728fbb5685a694251a51e021acf44c07f704b15
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 cryptlib.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/cryptlib.spec b/cryptlib.spec
index 308258d..4a29a12 100644
--- a/cryptlib.spec
+++ b/cryptlib.spec
@@ -97,7 +97,7 @@ sed -i -e 's/ -O3 / %{rpmcflags} /' makefile
 ln -sf libcl.so.%{libver} libcl.so
 
 cd bindings
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -110,9 +110,7 @@ ln -s libcl.so.%{libver} $RPM_BUILD_ROOT%{_libdir}/libcl.so.3
 ln -s libcl.so.%{libver} $RPM_BUILD_ROOT%{_libdir}/libcl.so
 
 cd bindings
-python setup.py install	\
-	--optimize=2	\
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cryptlib.git/commitdiff/2728fbb5685a694251a51e021acf44c07f704b15



More information about the pld-cvs-commit mailing list