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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:45:59 CET 2015


commit 1c29682060e0d22f436337897bf775fc74e6bf01
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:44 2015 +0100

    automatic change: use py_build/py_install macros

 python-subway.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-subway.spec b/python-subway.spec
index 1816d6e..9b426db 100644
--- a/python-subway.spec
+++ b/python-subway.spec
@@ -37,13 +37,13 @@ narzędzi pythonowych do WWW.
 %setup -q -n %{module}-%{snap}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{py_sitescriptdir},%{_bindir}}
 
-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-subway.git/commitdiff/1c29682060e0d22f436337897bf775fc74e6bf01



More information about the pld-cvs-commit mailing list