[packages/python-Sphinx-PyPI-upload] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:12:35 CET 2015


commit b9d0c11bafd4c7e93f9b38714f461276fb62eadd
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-Sphinx-PyPI-upload.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-Sphinx-PyPI-upload.spec b/python-Sphinx-PyPI-upload.spec
index e7b4604..0bc013d 100644
--- a/python-Sphinx-PyPI-upload.spec
+++ b/python-Sphinx-PyPI-upload.spec
@@ -34,16 +34,13 @@ komenda setuptools do publikowana dokumentacji Sphinx na PyPI
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 # %{?with_tests:%{__python} setup.py test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-Sphinx-PyPI-upload.git/commitdiff/b9d0c11bafd4c7e93f9b38714f461276fb62eadd



More information about the pld-cvs-commit mailing list