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

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


commit bc6dd81c92021079c6f5df7feff55d298f5f1819
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-registration.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-django-registration.spec b/python-django-registration.spec
index 2c9955e..c46e2a6 100644
--- a/python-django-registration.spec
+++ b/python-django-registration.spec
@@ -30,14 +30,11 @@ other dependencies.
 rm -r docs/_build/html/.buildinfo
 
 %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}/registration/tests
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-django-registration.git/commitdiff/bc6dd81c92021079c6f5df7feff55d298f5f1819



More information about the pld-cvs-commit mailing list