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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:12:46 CET 2015


commit 82921a1f4af4f4602091f91b85b6f1b68d43f5ec
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-TestGears.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-TestGears.spec b/python-TestGears.spec
index 67b1b23..b4e7e18 100644
--- a/python-TestGears.spec
+++ b/python-TestGears.spec
@@ -37,12 +37,12 @@ frontendów i udostępnia polecenie distutils do uruchamiania testów bez
 %setup -q -n %{module}-%{version}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python ./setup.py install \
+%py_install \
         --single-version-externally-managed \
         --optimize 2 \
         --root=$RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-TestGears.git/commitdiff/82921a1f4af4f4602091f91b85b6f1b68d43f5ec



More information about the pld-cvs-commit mailing list