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

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


commit e809817ebfd7ccac4e9fb5d58bb55f2663a8e175
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-voting.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-django-voting.spec b/python-django-voting.spec
index fb66e8a..25e31d4 100644
--- a/python-django-voting.spec
+++ b/python-django-voting.spec
@@ -25,14 +25,11 @@ This is a generic voting application for Django projects.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/voting/tests
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-django-voting.git/commitdiff/e809817ebfd7ccac4e9fb5d58bb55f2663a8e175



More information about the pld-cvs-commit mailing list