[packages/bzr-svn] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:23:36 CET 2015


commit 3aa96e09c201c0fa849fdd67124351ab53cfc0fb
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-svn.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/bzr-svn.spec b/bzr-svn.spec
index 36fc782..324f659 100644
--- a/bzr-svn.spec
+++ b/bzr-svn.spec
@@ -30,12 +30,11 @@ Subversion.
 %setup -q
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--optimize=2 \
+%py_install \
 	--install-lib=%{py_sitedir} \
 	--root=$RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bzr-svn.git/commitdiff/3aa96e09c201c0fa849fdd67124351ab53cfc0fb



More information about the pld-cvs-commit mailing list