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

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


commit f73795e1b96e70a0bdd2087a8885884ae5ae7dc4
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-TurboGears.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-TurboGears.spec b/python-TurboGears.spec
index d9e14ef..649fbd5 100644
--- a/python-TurboGears.spec
+++ b/python-TurboGears.spec
@@ -38,13 +38,13 @@ TurboGears to wielkie środowisko do szybkiego tworzenia serwisów WWW.
 %setup -q -n %{module}-%{version}
 
 %build
-python ./setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 install -d build/scripts-%{py_ver}
-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-TurboGears.git/commitdiff/f73795e1b96e70a0bdd2087a8885884ae5ae7dc4



More information about the pld-cvs-commit mailing list