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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:30:55 CET 2015


commit c8cbe35dd247d3a48838c42d7a36e78aceac127a
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-mimeparse.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/python-mimeparse.spec b/python-mimeparse.spec
index bf82f2f..dfeb2f3 100644
--- a/python-mimeparse.spec
+++ b/python-mimeparse.spec
@@ -48,11 +48,11 @@ oraz dopasowywania ich do listy zakresów mediów.
 
 %build
 %if %{with python2}
-%{__python} setup.py build --build-base py2
+%py_build --build-base py2
 %endif
 
 %if %{with python3}
-%{__python3} setup.py build --build-base py3
+%py3_build --build-base py3
 %endif
 
 %if %{with tests}
@@ -73,7 +73,7 @@ cd ..
 rm -rf $RPM_BUILD_ROOT
 
 %if %{with python2}
-%{__python} setup.py build \
+%py_build \
 	--build-base py2 \
 	install \
 	--optimize=2 \
@@ -83,7 +83,7 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with python3}
-%{__python3} setup.py build \
+%py3_build \
 	--build-base py3 \
 	install \
 	--optimize=2 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-mimeparse.git/commitdiff/c8cbe35dd247d3a48838c42d7a36e78aceac127a



More information about the pld-cvs-commit mailing list