commit 43a48a66c0a3928d79a86da8725b9269b806895e
Author: Jan RÄ™korajski <[email protected]>
Date:   Sat May 7 20:26:07 2016 +0200

    - use rpm python macros
    - rel 5

 python-rpdb.spec | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)
---
diff --git a/python-rpdb.spec b/python-rpdb.spec
index 2ecb811..70c00da 100644
--- a/python-rpdb.spec
+++ b/python-rpdb.spec
@@ -7,7 +7,7 @@
 Summary:       pdb wrapper with remote access via tcp socket
 Name:          python-rpdb
 Version:       0.1.3
-Release:       4
+Release:       5
 License:       ?
 Group:         Development/Languages/Python
 Source0:       
https://pypi.python.org/packages/source/r/rpdb/rpdb-%{version}.tar.gz
@@ -48,31 +48,23 @@ handler.
 
 %build
 %if %{with python2}
-%py_build --build-base py2
+%py_build
 %endif
 %if %{with python3}
-%py3_build --build-base py3
+%py3_build
 %endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %if %{with python2}
-%py_build \
-       --build-base py2 \
-       install \
-       --optimize 2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 %endif
 
 %if %{with python3}
 install -d $RPM_BUILD_ROOT%{_examplesdir}/python3-%{module}-%{version}
-%py3_build \
-       --build-base py3 \
-       install \
-       --optimize 2 \
-       --root=$RPM_BUILD_ROOT
+%py3_install
 %endif
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-rpdb.git/commitdiff/43a48a66c0a3928d79a86da8725b9269b806895e

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

Reply via email to