diff --git a/.gitignore b/.gitignore index 5d209bd..976dd3e 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,5 @@ zope.interface-3.6.1.tar.gz /zope.interface-4.5.0.tar.gz /zope.interface-4.6.0.tar.gz /zope.interface-4.7.1.tar.gz +/zope.interface-5.0.1.tar.gz +/zope.interface-5.0.2.tar.gz diff --git a/python-zope-interface.spec b/python-zope-interface.spec index bc3d09c..e7c2d47 100644 --- a/python-zope-interface.spec +++ b/python-zope-interface.spec @@ -1,8 +1,8 @@ %global debug_package %{nil} Name: python-zope-interface -Version: 4.7.1 -Release: 2%{?dist} +Version: 5.0.2 +Release: 1%{?dist} Summary: Zope 3 Interface Infrastructure License: ZPLv2.1 URL: https://pypi.io/project/zope.interface @@ -20,8 +20,8 @@ Summary: Zope 3 Interface Infrastructure BuildRequires: python3-devel BuildRequires: python3-setuptools -BuildRequires: python3-nose BuildRequires: python3-zope-event +BuildRequires: python3-zope-testing Requires: python3-zope-event @@ -41,12 +41,16 @@ rm -rf %{modname}.egg-info %install %py3_install # Will put docs in %%{_docdir} instead -%{__rm} -f %{buildroot}%{python3_sitearch}/zope/interface/{,tests/}*.txt +%{__rm} -f %{buildroot}%{python3_sitearch}/zope/interface/*.txt # C files don't need to be packaged %{__rm} -f %{buildroot}%{python3_sitearch}/zope/interface/_zope_interface_coptimizations.c %check -PYTHONPATH=$(pwd) nosetests-3 +# We have to run tests installed together with the package +# https://github.com/zopefoundation/zope.interface/issues/196 +pushd %{buildroot}%{python3_sitearch} +PURE_PYTHON=1 python3 -m unittest discover -s zope/interface -t . +popd %files -n python3-zope-interface %doc README.rst CHANGES.rst COPYRIGHT.txt docs/ @@ -60,6 +64,9 @@ PYTHONPATH=$(pwd) nosetests-3 %{python3_sitearch}/zope.interface-*-nspkg.pth %changelog +* Fri Mar 20 2020 Lumír Balhar - 5.0.2-1 +- Update to 5.0.2 (#1815086) + * Thu Jan 30 2020 Fedora Release Engineering - 4.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index c4cc401..fcdbd4c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zope.interface-4.7.1.tar.gz) = cb99cdf9733cdd2fb6637163167da0073145db1ed1788ae147098a23a9cafb4d661368a1780a44a231a2ea9f1adfa4fd6acac423a4a8d9cf026ee3a603ca7767 +SHA512 (zope.interface-5.0.2.tar.gz) = 3e7ae0b6f8410a5baa8ade4728dde45af262584d3057149070fe025ae544d22b980fe566b0f18ff2c247a91256b2f84f0a8fbd0656e6528476b538efdd2f2520