[packages/python-kitchen] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:28:28 CET 2015
commit 8fa068e32db6934adbbeb1e401f628ebd7deb08a
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:43 2015 +0100
automatic change: use py_build/py_install macros
python-kitchen.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-kitchen.spec b/python-kitchen.spec
index 59412b6..13dfdfc 100644
--- a/python-kitchen.spec
+++ b/python-kitchen.spec
@@ -42,7 +42,7 @@ on Python 2.3
grep -r 'from test import test_support' tests -l | xargs rm
%build
-%{__python} setup.py build
+%py_build
%if %{with tests}
nosetests-%{py_ver} --with-coverage --cover-package kitchen
@@ -50,10 +50,7 @@ nosetests-%{py_ver} --with-coverage --cover-package kitchen
%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-kitchen.git/commitdiff/8fa068e32db6934adbbeb1e401f628ebd7deb08a
More information about the pld-cvs-commit
mailing list