[packages/python-dulwich] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:21:45 CET 2015


commit 2dfc2e3adf570dbe7ff22542479582e51a3bd6c0
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-dulwich.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-dulwich.spec b/python-dulwich.spec
index c030948..7b2e1f1 100644
--- a/python-dulwich.spec
+++ b/python-dulwich.spec
@@ -43,7 +43,7 @@ rm -r %{module}.egg-info
 %build
 CC="%{__cc}" \
 CFLAGS="%{rpmcppflags} %{rpmcflags}" \
-%{__python} setup.py build
+%py_build
 
 %if %{with tests}
 cd dulwich/tests
@@ -59,10 +59,7 @@ rm docs/build/html/{.buildinfo,objects.inv}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/%{module}/*.[ch]
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/%{module}/tests
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-dulwich.git/commitdiff/2dfc2e3adf570dbe7ff22542479582e51a3bd6c0



More information about the pld-cvs-commit mailing list