]> git.pld-linux.org Git - packages/python-zmq.git/commitdiff
- use rpm python macros auto/th/python-zmq-14.7.0-4
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 7 May 2016 18:07:41 +0000 (20:07 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 7 May 2016 18:07:41 +0000 (20:07 +0200)
- rel 4

python-zmq.spec

index c17e0e2c29865c48197a581d8a2a36b1b21a8fb1..822d4ec42c5acd6572e4221094fc354ba33b7591 100644 (file)
@@ -10,7 +10,7 @@ Summary(en.UTF-8):    Py0MQ - ØMQ bindings for Python 2
 Summary(pl.UTF-8):     Py0MQ - wiązania biblioteki ØMQ dla Pythona 2
 Name:          python-zmq
 Version:       14.7.0
-Release:       3
+Release:       4
 License:       BSD
 Group:         Development/Languages/Python
 Source0:       https://github.com/zeromq/pyzmq/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -89,29 +89,21 @@ Pliki nagłowkowe dla Py0MQ (wersja dla Pythona 3).
 
 %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}
-%{__python} setup.py \
-       build --build-base py2 \
-       install \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 %endif
 
 %if %{with python3}
-%{__python3} setup.py \
-       build --build-base py3 \
-       install \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py3_install
 %endif
 
 %py_postclean
This page took 0.085146 seconds and 4 git commands to generate.