[packages/python-south] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:45:01 CET 2015
commit 6fef1fbab5b80ce0f1bc5c3c1a1dfb22ee91c04e
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:44 2015 +0100
automatic change: use py_build/py_install macros
python-south.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-south.spec b/python-south.spec
index 8ec14c2..d55a7eb 100644
--- a/python-south.spec
+++ b/python-south.spec
@@ -30,16 +30,13 @@ Django applications.
%setup -q -n South-%{version}
%build
-%{__python} setup.py build
+%py_build
%{?with_tests:%{__python} setup.py test}
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --skip-build \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-south.git/commitdiff/6fef1fbab5b80ce0f1bc5c3c1a1dfb22ee91c04e
More information about the pld-cvs-commit
mailing list