commit 33643bb982f470ad00e496dfcd20deb60d004910
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 flake8.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/flake8.spec b/flake8.spec
index 299f5f6..e620974 100644
--- a/flake8.spec
+++ b/flake8.spec
@@ -34,14 +34,11 @@ The modular source code checker. It is a wrapper around 
these tools:
 %setup -q
 
 %build
-%{__python3} setup.py build %{?with_tests:test}
+%py3_build %{?with_tests:test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python3} setup.py install \
-       --skip-build \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py3_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/flake8.git/commitdiff/33643bb982f470ad00e496dfcd20deb60d004910

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to