- update to new version (fixes memory leak)
- no need to run 2to3 on python3 subpackage
This commit is contained in:
parent
a0075cac9f
commit
d57ff9e655
|
@ -1,3 +1,4 @@
|
||||||
/pyzmq-0.1.20100725git18f5d06.tar.xz
|
/pyzmq-0.1.20100725git18f5d06.tar.xz
|
||||||
/pyzmq-2.0.8.tar.gz
|
/pyzmq-2.0.8.tar.gz
|
||||||
/pyzmq-2.0.10.tar.gz
|
/pyzmq-2.0.10.tar.gz
|
||||||
|
/pyzmq-2.0.10.1.tar.gz
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
%global srcname pyzmq
|
%global srcname pyzmq
|
||||||
|
|
||||||
Name: python-zmq
|
Name: python-zmq
|
||||||
Version: 2.0.10
|
Version: 2.0.10.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Software library for fast, message-based applications
|
Summary: Software library for fast, message-based applications
|
||||||
|
|
||||||
|
@ -91,7 +91,6 @@ rm -rf %{py3dir}
|
||||||
cp -a . %{py3dir}
|
cp -a . %{py3dir}
|
||||||
find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
|
find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
|
||||||
rm -r %{py3dir}/examples
|
rm -r %{py3dir}/examples
|
||||||
2to3 --write --nobackups %{py3dir}
|
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
@ -101,7 +100,7 @@ CFLAGS="%{optflags}" %{__python} setupegg.py build
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
CFLAGS="%{optflags}" %{__python3} setupegg.py build
|
CFLAGS="%{optflags}" %{__python3} setup.py build
|
||||||
popd
|
popd
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
|
@ -113,7 +112,7 @@ popd
|
||||||
# to be the default for now).
|
# to be the default for now).
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
%{__python3} setupegg.py install --skip-build --root $RPM_BUILD_ROOT
|
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
||||||
|
|
||||||
# remove tests doesn't work here, do that after running the tests
|
# remove tests doesn't work here, do that after running the tests
|
||||||
|
|
||||||
|
@ -129,9 +128,6 @@ popd
|
||||||
|
|
||||||
%check
|
%check
|
||||||
rm zmq/__*
|
rm zmq/__*
|
||||||
#pushd zmq
|
|
||||||
#PYTHONPATH=%{buildroot}%{python_sitearch} nosetests
|
|
||||||
#popd
|
|
||||||
PYTHONPATH=%{buildroot}%{python_sitearch} \
|
PYTHONPATH=%{buildroot}%{python_sitearch} \
|
||||||
%{__python} setup.py test
|
%{__python} setup.py test
|
||||||
rm -r %{buildroot}%{python_sitearch}/zmq/tests
|
rm -r %{buildroot}%{python_sitearch}/zmq/tests
|
||||||
|
@ -168,6 +164,10 @@ popd
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jan 30 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.0.10.1-1
|
||||||
|
- update to new version (fixes memory leak)
|
||||||
|
- no need to run 2to3 on python3 subpackage
|
||||||
|
|
||||||
* Thu Jan 13 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.0.10-1
|
* Thu Jan 13 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.0.10-1
|
||||||
- update to new version
|
- update to new version
|
||||||
- remove patch (is upstream)
|
- remove patch (is upstream)
|
||||||
|
|
Loading…
Reference in New Issue