commit 6dfabba87d5239afc31352fcd189685f75f618bb
Author: Jacek Konieczny <[email protected]>
Date: Sat Nov 28 18:06:42 2015 +0100
automatic change: use py_build/py_install macros
python-coverage.spec | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/python-coverage.spec b/python-coverage.spec
index 64b6cdd..bdf7925 100644
--- a/python-coverage.spec
+++ b/python-coverage.spec
@@ -39,20 +39,19 @@ been executed but was not.
%setup -q -n %{module}-%{version}
%build
-export CFLAGS="%{rpmcflags}"
-%{__python} setup.py build --build-base py2
-%{__python3} setup.py build --build-base py3
+%py_build --build-base py2
+%py3_build --build-base py3
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py build \
+%py_build \
--build-base py2 \
install \
--root=$RPM_BUILD_ROOT \
--optimize=2
-%{__python3} setup.py build \
+%py3_build \
--build-base py3 \
install \
--root=$RPM_BUILD_ROOT \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-coverage.git/commitdiff/6dfabba87d5239afc31352fcd189685f75f618bb
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit