[packages/python-django-evolution] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:20:44 CET 2015
commit 02be3badba82d538dfe8dd2683e94a23091cbdfd
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-evolution.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-django-evolution.spec b/python-django-evolution.spec
index 05ca4a8..3eb30e1 100644
--- a/python-django-evolution.spec
+++ b/python-django-evolution.spec
@@ -43,7 +43,7 @@ over time, and to update the database to reflect those changes.
%{__rm} -r *.egg-info
%build
-%{__python} setup.py build
+%py_build
%if %{with tests}
%{__python} tests/runtests.py
@@ -52,9 +52,7 @@ over time, and to update the database to reflect those changes.
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --skip-build \
+%py_install \
--root $RPM_BUILD_ROOT
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-django-evolution.git/commitdiff/02be3badba82d538dfe8dd2683e94a23091cbdfd
More information about the pld-cvs-commit
mailing list