[packages/python-bluetooth] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:16:39 CET 2015
commit d68d016637296d80430ec2a824a02d3589e9a7ac
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:42 2015 +0100
automatic change: use py_build/py_install macros
python-bluetooth.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-bluetooth.spec b/python-bluetooth.spec
index 56b96c8..1ace5b5 100644
--- a/python-bluetooth.spec
+++ b/python-bluetooth.spec
@@ -31,14 +31,12 @@ tworzenia aplikacji Bluetooth.
%setup -q -n %{realname}-%{version}
%build
-%{__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_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-bluetooth.git/commitdiff/d68d016637296d80430ec2a824a02d3589e9a7ac
More information about the pld-cvs-commit
mailing list