commit 75b7ac734e150c8f968042e5c137c74c3a237069
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-PyPAM.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-PyPAM.spec b/python-PyPAM.spec
index b9ee0f5..361c5ae 100644
--- a/python-PyPAM.spec
+++ b/python-PyPAM.spec
@@ -34,15 +34,12 @@ Wiązania PAM dla pythona.
 sed -i -e 's#python1.5/Python.h#python%{py_ver}/Python.h#g' PAMmodule.c
 
 %build
-export CFLAGS="%{rpmcflags}"
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__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/python-PyPAM.git/commitdiff/75b7ac734e150c8f968042e5c137c74c3a237069

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to