[packages/python-rst.linker] automatic change: use py_build/py_install macros

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


commit 5e7b62447c9dcba9e9859fbef0db1a835a75dc73
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-rst.linker.spec | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/python-rst.linker.spec b/python-rst.linker.spec
index 7e010bd..efde988 100644
--- a/python-rst.linker.spec
+++ b/python-rst.linker.spec
@@ -93,21 +93,13 @@ Dokumentacja do modułu rst.linker.
 rm -rf $RPM_BUILD_ROOT
 
 %if %{with python2}
-%{__python} setup.py \
-	build --build-base build-2 \
-	install --skip-build \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 %py_postclean
 %endif
 
 %if %{with python3}
-%{__python3} setup.py \
-	build --build-base build-3 \
-	install --skip-build \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py3_install
 %endif
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-rst.linker.git/commitdiff/5e7b62447c9dcba9e9859fbef0db1a835a75dc73



More information about the pld-cvs-commit mailing list