[packages/python-django-profiles] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:20:55 CET 2015
commit e8f30f9f891bde692dacbf45db93d3827e44302c
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-profiles.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-django-profiles.spec b/python-django-profiles.spec
index 779a75b..daf6e1c 100644
--- a/python-django-profiles.spec
+++ b/python-django-profiles.spec
@@ -26,14 +26,11 @@ painless as possible. It requires a functional installation of Django
%setup -q -n ubernostrum-django-profiles-default
%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-profiles.git/commitdiff/e8f30f9f891bde692dacbf45db93d3827e44302c
More information about the pld-cvs-commit
mailing list