From 9fefe36a08316ae98a696ef6626950f19bca1d12ea6618ec55bcb5d9c812b1bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 2 May 2018 08:40:55 +0000 Subject: [PATCH] - Change url to match up with upstream - Update to release 5.2.0: * Fixed: The quickstart/ad-hoc/play ZEO server relied on test dependencies. See `issue 105 `_. * Disallow passing strings as addresses to ClientStorage under Windows because string addresses are used for unix-domain sockets, which aren't supported on Windows. See `issue 107 `_. * Renamed all ``async`` attributes to ``async_`` for compatibility with Python 3.7. See `issue 104 `_. * Fixed to work with some changes made in ZODB 5.4.0. Client-side updates are incuded for ZODB 5.4.0 or databases that already had ``zodbpickle.binary`` OIDs. See `issue 113 `_. * ZEO now uses pickle protocol 3 for both Python 2 and Python 3. (Previously protocol 1 was used for Python 2.) This matches the change in ZODB 5.4.0. - Drop the docs as they are present on web and fail to build with current sphinx OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZEO?expand=0&rev=13 --- ZEO-5.1.0.tar.gz | 3 --- ZEO-5.2.0.tar.gz | 3 +++ python-ZEO.changes | 25 +++++++++++++++++++++++ python-ZEO.spec | 51 ++++++++++++++++++++-------------------------- 4 files changed, 50 insertions(+), 32 deletions(-) delete mode 100644 ZEO-5.1.0.tar.gz create mode 100644 ZEO-5.2.0.tar.gz diff --git a/ZEO-5.1.0.tar.gz b/ZEO-5.1.0.tar.gz deleted file mode 100644 index ea2e65d..0000000 --- a/ZEO-5.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:142edf8fcabaeec8c438319d71a12a1d4461befa9111a073c362b75e481e7522 -size 266903 diff --git a/ZEO-5.2.0.tar.gz b/ZEO-5.2.0.tar.gz new file mode 100644 index 0000000..aceac26 --- /dev/null +++ b/ZEO-5.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c1a9fc01114382e58b7ae21135fe0c222f214bf680ad073d5fdccaaaccd6e57 +size 276286 diff --git a/python-ZEO.changes b/python-ZEO.changes index 3d3979d..530a4b5 100644 --- a/python-ZEO.changes +++ b/python-ZEO.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Wed May 2 08:29:57 UTC 2018 - tchvatal@suse.com + +- Change url to match up with upstream +- Update to release 5.2.0: + * Fixed: The quickstart/ad-hoc/play ZEO server relied on test + dependencies. See `issue 105 + `_. + * Disallow passing strings as addresses to ClientStorage under Windows + because string addresses are used for unix-domain sockets, which + aren't supported on Windows. See `issue 107 + `_. + * Renamed all ``async`` attributes to ``async_`` for compatibility + with Python 3.7. See `issue 104 + `_. + * Fixed to work with some changes made in ZODB 5.4.0. + Client-side updates are incuded for ZODB 5.4.0 or databases that + already had ``zodbpickle.binary`` OIDs. See `issue 113 + `_. + * ZEO now uses pickle protocol 3 for both Python 2 and Python 3. + (Previously protocol 1 was used for Python 2.) This matches the + change in ZODB 5.4.0. +- Drop the docs as they are present on web and fail to build with + current sphinx + ------------------------------------------------------------------- Fri Sep 15 17:57:56 UTC 2017 - toddrme2178@gmail.com diff --git a/python-ZEO.spec b/python-ZEO.spec index 8311276..044dcd8 100644 --- a/python-ZEO.spec +++ b/python-ZEO.spec @@ -1,7 +1,7 @@ # # spec file for package python-ZEO # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -21,12 +21,12 @@ %define oldpython python %bcond_without test Name: python-ZEO -Version: 5.1.0 +Version: 5.2.0 Release: 0 Summary: Client-Server storage implementation for ZODB License: ZPL-2.1 Group: Development/Languages/Python -Url: http://docs.pylonsproject.org +URL: https://pypi.org/project/ZEO/ Source: https://files.pythonhosted.org/packages/source/Z/ZEO/ZEO-%{version}.tar.gz Source99: %{name}-rpmlintrc BuildRequires: %{python_module ZConfig} @@ -36,34 +36,31 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION documentation requirements -BuildRequires: %{python_module Sphinx} -# /SECTION -%if %{with test} -BuildRequires: %{python_module manuel} -BuildRequires: %{python_module mock} -BuildRequires: %{python_module msgpack-python} -BuildRequires: %{python_module random2} -BuildRequires: %{python_module zodbpickle >= 0.6.0} -BuildRequires: %{python_module zope.testing} -BuildRequires: python-futures -BuildRequires: python-trollius -%endif Requires: python-ZConfig Requires: python-ZODB >= 5.1.1 +Requires: python-persistent >= 4.1.0 Requires: python-six - -Requires: python-persistent Requires: python-transaction -%ifpython2 -Requires: %{oldpython}-trollius -%endif Requires: python-zc.lockfile Requires: python-zdaemon Requires: python-zope.interface Requires(post): update-alternatives Requires(preun): update-alternatives BuildArch: noarch +%if %{with test} +BuildRequires: %{python_module manuel} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module msgpack} +BuildRequires: %{python_module random2} +BuildRequires: %{python_module zodbpickle >= 0.6.0} +BuildRequires: %{python_module zope.testing} +BuildRequires: %{python_module zope.testrunner} +BuildRequires: python-futures +BuildRequires: python-trollius +%endif +%ifpython2 +Requires: %{oldpython}-trollius +%endif %python_subpackages %description @@ -84,11 +81,11 @@ find . -name "*~" -print -delete # remove unwanted shebang find src -name "*.py" | xargs sed -i '1 { /^#!/ d }' rm -rf src/ZEO.egg-info +# remove wrong module name, renamed upstream +sed -i -e 's:msgpack-python:msgpack:' setup.py %build %python_build -%{_python_use_flavor python3} -python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install %python_install @@ -111,8 +108,8 @@ python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %python_uninstall_alternative runzeo %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst +%license LICENSE.txt +%doc CHANGES.rst COPYRIGHT.txt README.rst %python_alternative %{_bindir}/runzeo %python_alternative %{_bindir}/zeoctl %python_alternative %{_bindir}/zeopack @@ -120,8 +117,4 @@ python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %{python_sitelib}/ZEO %{python_sitelib}/ZEO-%{version}-py%{python_version}.egg-info -%files -n %{name}-doc -%defattr(-,root,root,-) -%doc build/sphinx/html - %changelog