]> git.pld-linux.org Git - packages/bzr.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
bzr.spec

index c5529a50eb0697b97ac75a40b201207e628f17ac..36706b46a26558a67651ec765def15c0e9cb0688 100644 (file)
--- 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
 
This page took 0.06348 seconds and 4 git commands to generate.