update to 14.3.1
This commit is contained in:
parent
3a8fb19c70
commit
7a232ed262
|
@ -10,3 +10,4 @@
|
||||||
/pyzmq-2.2.0.1.tar.gz
|
/pyzmq-2.2.0.1.tar.gz
|
||||||
/pyzmq-13.0.0.tar.gz
|
/pyzmq-13.0.0.tar.gz
|
||||||
/pyzmq-13.0.2.tar.gz
|
/pyzmq-13.0.2.tar.gz
|
||||||
|
/pyzmq-14.3.1.tar.gz
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
%global run_tests 1
|
%global run_tests 1
|
||||||
|
|
||||||
Name: python-zmq
|
Name: python-zmq
|
||||||
Version: 13.0.2
|
Version: 14.3.1
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Software library for fast, message-based applications
|
Summary: Software library for fast, message-based applications
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
@ -32,6 +32,8 @@ URL: http://www.zeromq.org/bindings:python
|
||||||
# git archive --format=tar --prefix=pyzmq-%%{version}/ %%{checkout} | xz -z --force - > pyzmq-%%{version}.tar.xz
|
# git archive --format=tar --prefix=pyzmq-%%{version}/ %%{checkout} | xz -z --force - > pyzmq-%%{version}.tar.xz
|
||||||
Source0: https://pypi.python.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz
|
Source0: https://pypi.python.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
BuildRequires: zeromq3-devel
|
BuildRequires: zeromq3-devel
|
||||||
|
@ -110,13 +112,13 @@ This package contains the testsuite for the python bindings.
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{srcname}-%{version}
|
%setup -q -n %{srcname}-%{version}
|
||||||
|
|
||||||
|
# remove bundled libraries
|
||||||
|
rm -rf bundled
|
||||||
|
|
||||||
# forcibly regenerate the Cython-generated .c files:
|
# forcibly regenerate the Cython-generated .c files:
|
||||||
find zmq -name "*.c" -delete
|
find zmq -name "*.c" -delete
|
||||||
%{__python} setup.py cython
|
%{__python} setup.py cython
|
||||||
|
|
||||||
# remove bundled libraries
|
|
||||||
rm -rf bundled
|
|
||||||
|
|
||||||
# remove shebangs
|
# remove shebangs
|
||||||
for lib in zmq/eventloop/*.py; do
|
for lib in zmq/eventloop/*.py; do
|
||||||
sed '/\/usr\/bin\/env/d' $lib > $lib.new &&
|
sed '/\/usr\/bin\/env/d' $lib > $lib.new &&
|
||||||
|
@ -154,6 +156,7 @@ popd
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%global RPATH /zmq/{backend/cython,devices}
|
||||||
# Must do the python3 install first because the scripts in /usr/bin are
|
# Must do the python3 install first because the scripts in /usr/bin are
|
||||||
# overwritten with every setup.py install (and we want the python2 version
|
# overwritten with every setup.py install (and we want the python2 version
|
||||||
# to be the default for now).
|
# to be the default for now).
|
||||||
|
@ -161,16 +164,14 @@ popd
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
%{__python3} setup.py install --skip-build --root %{buildroot}
|
%{__python3} setup.py install --skip-build --root %{buildroot}
|
||||||
|
|
||||||
# remove tests doesn't work here, do that after running the tests
|
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
chrpath --delete %{buildroot}%{python3_sitearch}%{RPATH}/*.so
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
|
|
||||||
%{__python} setupegg.py install -O1 --skip-build --root %{buildroot}
|
%{__python} setupegg.py install -O1 --skip-build --root %{buildroot}
|
||||||
|
|
||||||
# remove tests doesn't work here, do that after running the tests
|
chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
@ -217,6 +218,9 @@ popd
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 27 2014 Thomas Spura <tomspur@fedoraproject.org> - 14.3.1-1
|
||||||
|
- update to 14.3.1
|
||||||
|
|
||||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.0.2-4
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.0.2-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue