[packages/python-github2] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:25:06 CET 2015
commit c285e784f2fd198a86048fb46aaeb35d4a2260c3
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:42 2015 +0100
automatic change: use py_build/py_install macros
python-github2.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-github2.spec b/python-github2.spec
index b018098..8cf881a 100644
--- a/python-github2.spec
+++ b/python-github2.spec
@@ -27,14 +27,11 @@ features available in version 2 of the Github API.
%patch0 -p1
%build
-%{__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
# tests should be ran not packaged
rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/tests
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-github2.git/commitdiff/c285e784f2fd198a86048fb46aaeb35d4a2260c3
More information about the pld-cvs-commit
mailing list