[packages/bzr] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:23:41 CET 2015
commit 037f0ef4560dd670dfb84ced8a399f8e2cb3be00
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
bzr.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/bzr.spec b/bzr.spec
index c5529a5..36706b4 100644
--- a/bzr.spec
+++ b/bzr.spec
@@ -88,12 +88,11 @@ This package provides bash-completion for bzr.
mv contrib/bash/bzr bash_completion.sh
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
+%py_install \
--install-data %{_datadir} \
--root=$RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bzr.git/commitdiff/037f0ef4560dd670dfb84ced8a399f8e2cb3be00
More information about the pld-cvs-commit
mailing list