[packages/python-PyPAM] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:11:11 CET 2015
commit 75b7ac734e150c8f968042e5c137c74c3a237069
Author: Jacek Konieczny <jajcus at jajcus.net>
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
More information about the pld-cvs-commit
mailing list