[packages/python-pyusb] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:40:51 CET 2015
commit 516fd20d77a914b42fe1951a6a63241e7a030b69
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-pyusb.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-pyusb.spec b/python-pyusb.spec
index 29605d1..6c13df0 100644
--- a/python-pyusb.spec
+++ b/python-pyusb.spec
@@ -25,12 +25,12 @@ PyUSB daje dostęp do USB z poziomu języka Python.
%setup -q -n %{module}-%{version}
%build
-%{__python} ./setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} ./setup.py install \
+%py_install \
--optimize 2 \
--root=$RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pyusb.git/commitdiff/516fd20d77a914b42fe1951a6a63241e7a030b69
More information about the pld-cvs-commit
mailing list