[packages/python-webcolors] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:48:24 CET 2015
commit 55c563e490c3656985aa533cbc7502a78d3bc3cb
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-webcolors.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-webcolors.spec b/python-webcolors.spec
index f93a93a..50db0c6 100644
--- a/python-webcolors.spec
+++ b/python-webcolors.spec
@@ -32,13 +32,11 @@ Python standard library):
%{__sed} -i -e 's/^use_setuptools()/#use_setuptools()/' setup.py
%build
-%{__python} setup.py build
+%py_build
%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-webcolors.git/commitdiff/55c563e490c3656985aa533cbc7502a78d3bc3cb
More information about the pld-cvs-commit
mailing list