[packages/python-simplejson] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:44:00 CET 2015


commit 5dfb1e69e40072181cbe3796b212291952e906fd
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-simplejson.spec | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/python-simplejson.spec b/python-simplejson.spec
index f541bd0..3b1f851 100644
--- a/python-simplejson.spec
+++ b/python-simplejson.spec
@@ -54,15 +54,11 @@ dekoder JSON (<http://json.org/>) dla Pythona 3.
 
 %build
 %if %{with python2}
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build --build-base py2
+%py_build --build-base py2
 %endif
 
 %if %{with python3}
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python3} setup.py build --build-base py3
+%py3_build --build-base py3
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-simplejson.git/commitdiff/5dfb1e69e40072181cbe3796b212291952e906fd



More information about the pld-cvs-commit mailing list