commit 9ae7356a3361928daedd1606eb069fdbdc8776bc
Author: Jacek Konieczny <[email protected]>
Date: Sat Nov 28 18:06:42 2015 +0100
automatic change: use py_build/py_install macros
python-github3.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-github3.spec b/python-github3.spec
index 416f35c..1714292 100644
--- a/python-github3.spec
+++ b/python-github3.spec
@@ -32,14 +32,11 @@ mv *-%{module}-*/* .
ver=$(%{__python} -c "import pygithub3; print pygithub3.__version__")
test "$ver" = %{version}
-%{__python} setup.py build
+%py_build
%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-github3.git/commitdiff/9ae7356a3361928daedd1606eb069fdbdc8776bc
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit