diff --git a/python-zope.interface.changes b/python-zope.interface.changes index d0f25e5..6a25785 100644 --- a/python-zope.interface.changes +++ b/python-zope.interface.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Aug 28 11:29:16 UTC 2018 - tchvatal@suse.com + +- Version update to 4.5.0: + * Allow registering and unregistering instance methods as listeners. See issue 12 and PR 102. + * Synchronize and simplify zope/__init__.py. See issue 114 + * Avoid exceptions when the __annotations__ attribute is added to interface definitions with Python 3.x type hints. See issue 98. + * Fix the possibility of a rare crash in the C extension when deallocating items. See issue 100. + ------------------------------------------------------------------- Mon Jun 19 13:01:14 UTC 2017 - okurz@suse.com diff --git a/python-zope.interface.spec b/python-zope.interface.spec index 5fb508a..f2785a4 100644 --- a/python-zope.interface.spec +++ b/python-zope.interface.spec @@ -1,7 +1,7 @@ # # spec file for package python-zope.interface # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -17,38 +17,29 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} - -Name: python-zope.interface %global modname zope.interface -Version: 4.4.2 +%define oldpython python +Name: python-zope.interface +Version: 4.5.0 Release: 0 -Url: http://pypi.python.org/pypi/%{modname} Summary: Interfaces for Python License: ZPL-2.1 Group: Development/Languages/Python -Source: https://pypi.io/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -BuildRequires: fdupes -# Testing requirements: +URL: http://pypi.python.org/pypi/zope.interface +Source: https://files.pythonhosted.org/packages/source/z/zope.interface/%{modname}-%{version}.tar.gz BuildRequires: %{python_module coverage} +BuildRequires: %{python_module devel} BuildRequires: %{python_module nose} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module zope.event} +BuildRequires: fdupes BuildRequires: python-rpm-macros - -%define oldpython python %ifpython2 Provides: %{oldpython}-zopeinterface = %{version} Obsoletes: %{oldpython}-zopeinterface < %{version} Provides: %{oldpython}-zope-interface = %{version} Obsoletes: %{oldpython}-zope-interface < %{version} %endif - -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%endif - %python_subpackages %description @@ -75,8 +66,8 @@ the Design By Contract methodology support in Python. %python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) -%doc COPYRIGHT.txt CHANGES.rst LICENSE.txt README.rst +%license LICENSE.txt COPYRIGHT.txt +%doc CHANGES.rst README.rst %{python_sitearch}/* %changelog diff --git a/zope.interface-4.4.2.tar.gz b/zope.interface-4.4.2.tar.gz deleted file mode 100644 index bb649e2..0000000 --- a/zope.interface-4.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4e59e427200201f69ef82956ddf9e527891becf5b7cde8ec3ce39e1d0e262eb0 -size 150150 diff --git a/zope.interface-4.5.0.tar.gz b/zope.interface-4.5.0.tar.gz new file mode 100644 index 0000000..6074ee9 --- /dev/null +++ b/zope.interface-4.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:57c38470d9f57e37afb460c399eb254e7193ac7fb8042bd09bdc001981a9c74c +size 151261