[packages/python-Louie] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:09:33 CET 2015
commit 87e7fcca78f28515bdb22f660ddd98c00c2883f9
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-Louie.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-Louie.spec b/python-Louie.spec
index 793c715..5539b21 100644
--- a/python-Louie.spec
+++ b/python-Louie.spec
@@ -34,14 +34,12 @@ oparty na przepisie z dokumentu "Python Cookbook".
%setup -qn %{module}-%{version}
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install \
- --root=$RPM_BUILD_ROOT \
- --optimize=2
+%py_install
%py_postclean
rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/louie/test
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-Louie.git/commitdiff/87e7fcca78f28515bdb22f660ddd98c00c2883f9
More information about the pld-cvs-commit
mailing list