diff --git a/python-zope-event.spec b/python-zope-event.spec index 5b37dab..ce72bd7 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -1,10 +1,7 @@ -%if 0%{?fedora} || 0%{?rhel} > 7 -%global with_python3 1 -%endif Name: python-zope-event Version: 4.2.0 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Zope Event Publication License: ZPLv2.1 URL: http://pypi.python.org/pypi/zope.event/ @@ -18,25 +15,6 @@ on which more sophisticated event dispatching systems can be built. (For example, a type-based event dispatching system that builds on zope.event can be found in zope.component.) -%package -n python2-zope-event -Summary: Zope Event Publication (Python 2) -%{?python_provide:%python_provide python2-zope-event} - -BuildRequires: python2-devel -BuildRequires: python2-setuptools - -Requires: python2 - -%description -n python2-zope-event -The zope.event package provides a simple event system. It provides -an event publishing system and a very simple event-dispatching system -on which more sophisticated event dispatching systems can be built. -(For example, a type-based event dispatching system that builds on -zope.event can be found in zope.component.) - -This package contains the version for Python 2. - -%if 0%{?with_python3} %package -n python3-zope-event Summary: Zope Event Publication (Python 3) %{?python_provide:%python_provide python3-zope-event} @@ -56,17 +34,13 @@ on which more sophisticated event dispatching systems can be built. zope.event can be found in zope.component.) This package contains the version for Python 3. -%endif %prep %setup -q -n zope.event-%{version} rm -rf %{modname}.egg-info %build -%py2_build -%if 0%{?with_python3} %py3_build -%endif # build the sphinx documents pushd docs @@ -76,29 +50,11 @@ popd %install -%if 0%{?with_python3} %py3_install -%endif -%py2_install %check -%{__python2} setup.py test -%if 0%{?with_python3} %{__python3} setup.py test -%endif -%files -n python2-zope-event -%doc CHANGES.rst COPYRIGHT.txt README.rst -%doc docs/_build/html/ -%license LICENSE.txt -%{python2_sitelib}/zope/event/ -%exclude %{python2_sitelib}/zope/event/tests.py* -%dir %{python2_sitelib}/zope/ -#%{python2_sitelib}/zope/__init__* -%{python2_sitelib}/zope.event-*.egg-info -%{python2_sitelib}/zope.event-*-nspkg.pth - -%if 0%{?with_python3} %files -n python3-zope-event %doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst %doc docs/_build/html/ @@ -110,9 +66,12 @@ popd #%{python3_sitelib}/zope/__init__* %{python3_sitelib}/zope.event-*.egg-info %{python3_sitelib}/zope.event-*-nspkg.pth -%endif %changelog +* Thu Oct 31 2019 Miro Hrončok - 4.2.0-16 +- Subpackage python2-zope-event has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Thu Oct 03 2019 Miro Hrončok - 4.2.0-15 - Rebuilt for Python 3.8.0rc1 (#1748018)