[packages/almir] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:22:18 CET 2015
commit 91f484eb2c7138fa851e3c936c481423eaefc129
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
almir.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/almir.spec b/almir.spec
index aea7241..1cf015b 100644
--- a/almir.spec
+++ b/almir.spec
@@ -38,14 +38,11 @@ never simple.
%setup -q
%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
%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/almir/tests
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/almir.git/commitdiff/91f484eb2c7138fa851e3c936c481423eaefc129
More information about the pld-cvs-commit
mailing list