[packages/bugwarrior] automatic change: use py_build/py_install macros

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


commit c13f2cbf5459f6705bfccdee73ba78762297cca2
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 bugwarrior.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/bugwarrior.spec b/bugwarrior.spec
index 40e242e..68c6cad 100644
--- a/bugwarrior.spec
+++ b/bugwarrior.spec
@@ -68,14 +68,11 @@ bugzilla, megaplan, teamlab, redmine, and activecollab
 rm -r %{name}.egg-info
 
 %build
-%{__python} setup.py build
+%py_build
 
 %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_sitescriptdir}/%{name}/README.rst
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/docs
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bugwarrior.git/commitdiff/c13f2cbf5459f6705bfccdee73ba78762297cca2



More information about the pld-cvs-commit mailing list