[packages/python-sphinxcontrib-issuetracker] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:45:17 CET 2015
commit 672915b5f2d9c74c676c3236ad9ea626852b8106
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:44 2015 +0100
automatic change: use py_build/py_install macros
python-sphinxcontrib-issuetracker.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-sphinxcontrib-issuetracker.spec b/python-sphinxcontrib-issuetracker.spec
index fe3f278..80f4401 100644
--- a/python-sphinxcontrib-issuetracker.spec
+++ b/python-sphinxcontrib-issuetracker.spec
@@ -46,7 +46,7 @@ zgłoszenia zapisany tekstowo (np. "#10").
cp -p %{SOURCE1} %{SOURCE2} doc
%build
-%{__python} setup.py build
+%py_build
%if %{with doc}
PYTHONPATH=$(pwd)/build/lib \
@@ -55,9 +55,7 @@ PYTHONPATH=$(pwd)/build/lib \
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-sphinxcontrib-issuetracker.git/commitdiff/672915b5f2d9c74c676c3236ad9ea626852b8106
More information about the pld-cvs-commit
mailing list