[python-zmq] - update to new version (fixes memory leak) - no need to run 2to3 on python3 subpackage

tomspur tomspur at fedoraproject.org
Sun Jan 30 20:51:45 UTC 2011


commit d57ff9e655a5b056456b39ed36ea68fbc1b1dec8
Author: Thomas Spura <tomspur at fedoraproject.org>
Date:   Sun Jan 30 21:51:21 2011 +0100

    - update to new version (fixes memory leak)
    - no need to run 2to3 on python3 subpackage

 .gitignore      |    1 +
 python-zmq.spec |   14 +++++++-------
 sources         |    2 +-
 3 files changed, 9 insertions(+), 8 deletions(-)
---
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 <tomspur at 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 at fedoraproject.org> - 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


More information about the scm-commits mailing list