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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:16:50 CET 2015


commit 173b92290acd13bed3281e68da770ba226afb839
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-breathe.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-breathe.spec b/python-breathe.spec
index 3c1fe08..b245053 100644
--- a/python-breathe.spec
+++ b/python-breathe.spec
@@ -32,17 +32,14 @@ Sphinx, pozwalające na odczyt i renderowanie wyjścia XML z Doxygena.
 %setup -q -n breathe-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %{?with_tests:%{__python} setup.py test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-breathe.git/commitdiff/173b92290acd13bed3281e68da770ba226afb839



More information about the pld-cvs-commit mailing list