[packages/flake8] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:27:06 CET 2015


commit 33643bb982f470ad00e496dfcd20deb60d004910
Author: Jacek Konieczny <jajcus at jajcus.net>
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



More information about the pld-cvs-commit mailing list