[packages/python-mad] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:30:02 CET 2015
commit 5745c7c5f307f73e60cbf2659426933f6439d318
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-mad.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-mad.spec b/python-mad.spec
index 99dd79f..a09d4c1 100644
--- a/python-mad.spec
+++ b/python-mad.spec
@@ -34,13 +34,12 @@ odczyt danych PCM ze strumieni dźwiękowych MPEG bardzo łatwym.
python config_unix.py \
--prefix %{_prefix}
python setup.py config
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install \
- --optimize=2 \
+%py_install \
--root $RPM_BUILD_ROOT
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-mad.git/commitdiff/5745c7c5f307f73e60cbf2659426933f6439d318
More information about the pld-cvs-commit
mailing list