diff --git a/.gitignore b/.gitignore index cc3ea39..d997b47 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /pyzmq-0.1.20100725git18f5d06.tar.xz /pyzmq-2.0.8.tar.gz /pyzmq-2.0.10.tar.gz +/pyzmq-2.0.10.1.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index 4610907..0ef887f 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -13,7 +13,7 @@ %global srcname pyzmq Name: python-zmq -Version: 2.0.10 +Version: 2.0.10.1 Release: 1%{?dist} Summary: Software library for fast, message-based applications @@ -91,7 +91,6 @@ rm -rf %{py3dir} cp -a . %{py3dir} find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' rm -r %{py3dir}/examples -2to3 --write --nobackups %{py3dir} %endif @@ -101,7 +100,7 @@ CFLAGS="%{optflags}" %{__python} setupegg.py build %if 0%{?with_python3} pushd %{py3dir} -CFLAGS="%{optflags}" %{__python3} setupegg.py build +CFLAGS="%{optflags}" %{__python3} setup.py build popd %endif # with_python3 @@ -113,7 +112,7 @@ popd # to be the default for now). %if 0%{?with_python3} 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 @@ -129,9 +128,6 @@ popd %check rm zmq/__* -#pushd zmq - #PYTHONPATH=%{buildroot}%{python_sitearch} nosetests -#popd PYTHONPATH=%{buildroot}%{python_sitearch} \ %{__python} setup.py test rm -r %{buildroot}%{python_sitearch}/zmq/tests @@ -168,6 +164,10 @@ popd %changelog +* Sun Jan 30 2011 Thomas Spura - 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 - 2.0.10-1 - update to new version - remove patch (is upstream) diff --git a/sources b/sources index 75dfa42..f76c02b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b8b397b2b459c6cdf7571eca5b697bc5 pyzmq-2.0.10.tar.gz +472f43b8a409aabe093e204c9abea7a8 pyzmq-2.0.10.1.tar.gz