[packages/python-virtualenvwrapper] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:48:09 CET 2015
commit eaa1531d954d2ae829eef95b9f3cfb353267bdfa
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-virtualenvwrapper.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-virtualenvwrapper.spec b/python-virtualenvwrapper.spec
index a5f6cef..dab02fb 100644
--- a/python-virtualenvwrapper.spec
+++ b/python-virtualenvwrapper.spec
@@ -42,7 +42,7 @@ introducing conflicts in their dependencies.
%setup -q -n %{module}-%{version}
%build
-%{__python} setup.py build
+%py_build
%if %{with tests}
tox -e py27
@@ -50,10 +50,7 @@ tox -e py27
%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-virtualenvwrapper.git/commitdiff/eaa1531d954d2ae829eef95b9f3cfb353267bdfa
More information about the pld-cvs-commit
mailing list