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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:43:34 CET 2015


commit decb9fc9096c398e7aeb2112506e81232daf6b82
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-setuptools_scm.spec | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec
index 2e230bc..bf2ef8b 100644
--- a/python-setuptools_scm.spec
+++ b/python-setuptools_scm.spec
@@ -71,21 +71,13 @@ systemach kontroli wersji Mercurial i Git.
 rm -rf $RPM_BUILD_ROOT
 
 %if %{with python2}
-%{__python} setup.py \
-	build --build-base build-2 \
-	install --skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 %endif
 
 %if %{with python3}
-%{__python3} setup.py \
-	build --build-base build-3 \
-	install --skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py3_install
 %endif
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-setuptools_scm.git/commitdiff/decb9fc9096c398e7aeb2112506e81232daf6b82



More information about the pld-cvs-commit mailing list