[packages/QMTest] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:21:23 CET 2015
commit f6e56f567f60fc03c2fb8aba8f5546e9d78548ff
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
QMTest.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/QMTest.spec b/QMTest.spec
index d27a9cc..55bf24d 100644
--- a/QMTest.spec
+++ b/QMTest.spec
@@ -30,13 +30,11 @@ silnego i łatwego w użyciu procesu testowego.
#%patch0 -p1
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
mv $RPM_BUILD_ROOT%{_docdir}/%{tarname} _docs
rm _docs/COPYING
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/QMTest.git/commitdiff/f6e56f567f60fc03c2fb8aba8f5546e9d78548ff
More information about the pld-cvs-commit
mailing list