]> git.pld-linux.org Git - packages/python-simplejson.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:43 +0000 (18:06 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:43 +0000 (18:06 +0100)
python-simplejson.spec

index f541bd0323fc171b2d95b8a56993b11b39d50ed7..3b1f85158917a58da2119720a91060e90d10cda2 100644 (file)
@@ -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
This page took 0.080503 seconds and 4 git commands to generate.