[packages/canta] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:23:52 CET 2015
commit 04bb0ec0ffaa0a6586b9d044bea40d5ac61e4b33
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
canta.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/canta.spec b/canta.spec
index 627ca07..9fdbb63 100644
--- a/canta.spec
+++ b/canta.spec
@@ -31,15 +31,13 @@ or to improve the user's musical knowledge.
%patch0 -p1
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/media/{songs,themes}
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/canta.git/commitdiff/04bb0ec0ffaa0a6586b9d044bea40d5ac61e4b33
More information about the pld-cvs-commit
mailing list