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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:21:26 CET 2015


commit 5ba20fc372ae14b788f1e5c9cfcac06f103adaee
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-django_tagging.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-django_tagging.spec b/python-django_tagging.spec
index a5f8e9c..0ab7167 100644
--- a/python-django_tagging.spec
+++ b/python-django_tagging.spec
@@ -25,13 +25,11 @@ retrieval of tags simple.
 %setup -q -n django-%{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-django_tagging.git/commitdiff/5ba20fc372ae14b788f1e5c9cfcac06f103adaee



More information about the pld-cvs-commit mailing list