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

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


commit 90be146f3b17dc5acb3157b1360dbe4d79dd1e5d
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_extensions.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-django_extensions.spec b/python-django_extensions.spec
index 0e576e7..9fc164e 100644
--- a/python-django_extensions.spec
+++ b/python-django_extensions.spec
@@ -25,14 +25,11 @@ Django Custom Management Command Extensions
 %setup -q -n %{module}-%{version}
 
 %build
-export CFLAGS="%{rpmcflags}"
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-django_extensions.git/commitdiff/90be146f3b17dc5acb3157b1360dbe4d79dd1e5d



More information about the pld-cvs-commit mailing list