[packages/python-pyacoustid] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:36:04 CET 2015
commit da6e06ba6b505279bc937258ebbbe76fb1bd36a7
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:43 2015 +0100
automatic change: use py_build/py_install macros
python-pyacoustid.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-pyacoustid.spec b/python-pyacoustid.spec
index 8af9ab0..56f3075 100644
--- a/python-pyacoustid.spec
+++ b/python-pyacoustid.spec
@@ -33,14 +33,11 @@ Acoustid.
%setup -q -n lalinsky-pyacoustid-4701d2b
%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_ocomp $RPM_BUILD_ROOT%{py_sitesdir}
#py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pyacoustid.git/commitdiff/da6e06ba6b505279bc937258ebbbe76fb1bd36a7
More information about the pld-cvs-commit
mailing list