[packages/python-pyalsa] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:36:08 CET 2015
commit 269621332f9dfb11d80f1c5339bf0fad0825c11b
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-pyalsa.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-pyalsa.spec b/python-pyalsa.spec
index 1f7dec6..9098912 100644
--- a/python-pyalsa.spec
+++ b/python-pyalsa.spec
@@ -26,15 +26,12 @@ Wiązanie Pythona do biblioteki ALSA.
%setup -q -n pyalsa-%{version}
%build
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pyalsa.git/commitdiff/269621332f9dfb11d80f1c5339bf0fad0825c11b
More information about the pld-cvs-commit
mailing list