[packages/python-backports-ssl_match_hostname] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:15:55 CET 2015
commit 6e5f035c127e94035d2013843d5def02fc64346b
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-backports-ssl_match_hostname.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-backports-ssl_match_hostname.spec b/python-backports-ssl_match_hostname.spec
index 89e8397..0deaeba 100644
--- a/python-backports-ssl_match_hostname.spec
+++ b/python-backports-ssl_match_hostname.spec
@@ -39,13 +39,11 @@ mv src/backports/ssl_match_hostname/README.txt .
mv src/backports/ssl_match_hostname/LICENSE.txt .
%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
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-backports-ssl_match_hostname.git/commitdiff/6e5f035c127e94035d2013843d5def02fc64346b
More information about the pld-cvs-commit
mailing list