[packages/python-launchpad-bugs] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:28:47 CET 2015
commit 7448d69619c700549c8bca910715fddfd519070d
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:43 2015 +0100
automatic change: use py_build/py_install macros
python-launchpad-bugs.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-launchpad-bugs.spec b/python-launchpad-bugs.spec
index d957cc7..571ac19 100644
--- a/python-launchpad-bugs.spec
+++ b/python-launchpad-bugs.spec
@@ -20,14 +20,12 @@ Classes to access bug information in Launchpad.
%patch0 -p1
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-python setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-launchpad-bugs.git/commitdiff/7448d69619c700549c8bca910715fddfd519070d
More information about the pld-cvs-commit
mailing list