commit 8d266763b85b92e0658b0faf1556b99ac186117e
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-rpdb.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/python-rpdb.spec b/python-rpdb.spec
index 33b19f6..a39d936 100644
--- a/python-rpdb.spec
+++ b/python-rpdb.spec
@@ -48,16 +48,16 @@ handler.
 
 %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
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %if %{with python2}
-%{__python} setup.py build \
+%py_build \
        --build-base py2 \
        install \
        --optimize 2 \
@@ -68,7 +68,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %if %{with python3}
 install -d $RPM_BUILD_ROOT%{_examplesdir}/python3-%{module}-%{version}
-%{__python3} setup.py build \
+%py3_build \
        --build-base py3 \
        install \
        --optimize 2 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-rpdb.git/commitdiff/8d266763b85b92e0658b0faf1556b99ac186117e

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to