[packages/python-django-south] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:21:08 CET 2015
commit 01ff54c2b241cbb33d6d64bc6cc5eb4055c2a6cc
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-south.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-django-south.spec b/python-django-south.spec
index 310d681..c64ff8f 100644
--- a/python-django-south.spec
+++ b/python-django-south.spec
@@ -27,14 +27,11 @@ Django applications.
%setup -q -n South-%{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
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-django-south.git/commitdiff/01ff54c2b241cbb33d6d64bc6cc5eb4055c2a6cc
More information about the pld-cvs-commit
mailing list