Browse Source

update module

master
parent
commit
86a4ebea37
  1. 12
      python-zmq/python-zmq.patch
  2. 6
      python-zmq/python-zmq.spec

12
python-zmq/python-zmq.patch

@ -1,12 +0,0 @@
Index: pyzmq-19.0.0/zmq/utils/mutex.h
--- pyzmq-19.0.0/zmq/utils/mutex.h.orig 2017-11-10 17:11:45.000000000 +0100
+++ pyzmq-19.0.0/zmq/utils/mutex.h 2017-11-10 21:31:04.636120000 +0100
@@ -48,7 +48,7 @@
mutex_t*
mutex_allocate(void) {
- mutex_t* mutex = malloc(sizeof(mutex_t));
+ mutex_t* mutex = (mutex_t *)malloc(sizeof(mutex_t));
_mutex_initialize(mutex);
return mutex;
}

6
python-zmq/python-zmq.spec

@ -23,7 +23,7 @@
# package versions
%define V_python 3.8
%define V_pyzmq 19.0.0
%define V_pyzmq 19.0.1
# package information
Name: python-zmq
@ -36,11 +36,10 @@ Class: BASE
Group: Language
License: GPL
Version: %{V_python}
Release: 20200225
Release: 20200508
# list of sources
Source0: https://files.pythonhosted.org/packages/source/p/pyzmq/pyzmq-%{V_pyzmq}.tar.gz
Patch0: python-zmq.patch
# build information
BuildPreReq: OpenPKG, openpkg >= 20160101, python >= %{V_python}
@ -60,7 +59,6 @@ PreReq: zmq
%prep
%setup -q -c
%patch -p0
%build

Loading…
Cancel
Save