diff --git a/kazoo-2.2.1.tar.gz b/kazoo-2.2.1.tar.gz deleted file mode 100644 index 9f51de9..0000000 --- a/kazoo-2.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:525a9959b98a1203530bee01446b365a9f7f1caa69399af0151127178941eb82 -size 108037 diff --git a/kazoo-2.4.0.tar.gz b/kazoo-2.4.0.tar.gz new file mode 100644 index 0000000..98e2e32 --- /dev/null +++ b/kazoo-2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7c2d1d7ddb047c936d368e31b08a93bb327ffa46606fe85f550a37ce608c29b +size 142830 diff --git a/python-kazoo.changes b/python-kazoo.changes index 2468cfd..d25ca8c 100644 --- a/python-kazoo.changes +++ b/python-kazoo.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Aug 22 13:40:43 UTC 2017 - tbechtold@suse.com + +- update to 2.4.0: + * add missed parens to LockingQueue function call. + * revert PR #305 SetWatches which caused RuntimeError + * pep8 all the things + * drop Python 2.6/3.3 official support, add 3.5/3.6 testing + * allow multiple endpoints in KazooClient hosts arg + * use epoll when available to support fds > 1023 + * Add TreeCache recipe + * update MANIFEST.in to reflect changes to filenames + * add travis deployment and update ZK versions + * allow having observers and different sized clusters + * fully resolve multiple records for hosts in the zookeeper + connection string + * Fix the recipe examples, so they actually work by connecting to + ZooKeeper. Without start() they just hang and can't be killed. + ------------------------------------------------------------------- Thu Sep 29 14:41:34 UTC 2016 - dmueller@suse.com diff --git a/python-kazoo.spec b/python-kazoo.spec index 6f5cea4..f5cb80a 100644 --- a/python-kazoo.spec +++ b/python-kazoo.spec @@ -1,7 +1,7 @@ # # spec file for package python-kazoo # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,21 +16,18 @@ # -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch -%endif +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-kazoo -Version: 2.2.1 +Version: 2.4.0 Release: 0 Summary: Higher Level Zookeeper Client License: Apache-2.0 Group: Development/Languages/Python Url: https://github.com/yahoo/Zake -Source: https://pypi.io/packages/source/k/kazoo/kazoo-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools +Source: https://files.pythonhosted.org/packages/source/k/kazoo/kazoo-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros BuildRequires: unzip Requires: python-six # Test requirements: @@ -40,6 +37,9 @@ Requires: python-six #BuildRequires: python-nose #BuildRequires: python-nose BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%python_subpackages %description Implements a higher level API to Apache Zookeeper for Python clients. @@ -48,18 +48,18 @@ Implements a higher level API to Apache Zookeeper for Python clients. %setup -q -n kazoo-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install #NOTE(saschpe): Currently require a running Zookeeper instance: #%%check #python setup.py test -%files +%files %{python_files} %defattr(-,root,root,-) -%doc LICENSE README.rst +%doc LICENSE README.md %{python_sitelib}/* %changelog