From f2844ed44e22aa479542174dab1a0597a19c10f1 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Dec 07 2016 17:19:21 +0000 Subject: Explain why this package should only be built for EPEL --- diff --git a/.gitignore b/.gitignore index b17b071..e69de29 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +0,0 @@ -/zope.event-4.2.0.tar.gz diff --git a/README b/README new file mode 100644 index 0000000..e14747e --- /dev/null +++ b/README @@ -0,0 +1,5 @@ +This Python module is already provided by Fedora under the python-zope-event +name. The point of this package is to build the EPEL7+ branch. + +RHEL/CentOS already ships the python-zope-event package, but only in the +Python2 version. This package only builds the Python3 version. diff --git a/python3-zope-event.spec b/python3-zope-event.spec deleted file mode 100644 index df2233f..0000000 --- a/python3-zope-event.spec +++ /dev/null @@ -1,108 +0,0 @@ -%global srcname zope.event -%global pkgname zope-event -%global summary Zope Event Publication -%global _description \ -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.) - -Name: python3-%{pkgname} -Version: 4.2.0 -Release: 1%{?dist} -Summary: %{summary} -Group: Development/Languages -License: ZPLv2.1 -URL: http://pypi.python.org/pypi/zope.event/ -Source0: http://pypi.python.org/packages/source/z/%{srcname}/%{srcname}-%{version}.tar.gz -BuildArch: noarch - -BuildRequires: python-sphinx -BuildRequires: python3-pkgversion-macros -BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-setuptools -%if 0%{?with_python3_other} -BuildRequires: python%{python3_other_pkgversion}-devel -BuildRequires: python%{python3_other_pkgversion}-setuptools -%endif - -%description %{_description} - - -%if %{python3_pkgversion} != 3 -%package -n python%{python3_pkgversion}-%{pkgname} -Summary: %{summary} -%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}} - -%description -n python%{python3_pkgversion}-%{pkgname} %{_description} -%endif - - -%if 0%{?with_python3_other} -%package -n python%{python3_other_pkgversion}-%{pkgname} -Summary: %{summary} -%{?python_provide:%python_provide python%{python3_other_pkgversion}-%{pkgname}} - -%description -n python%{python3_other_pkgversion}-%{pkgname} %{_description} -%endif - - -%prep -%setup -q -n %{srcname}-%{version} -rm -rf %{srcname}.egg-info - - -%build -%py3_build -%if 0%{?with_python3_other} -%py3_other_build -%endif - -# build the sphinx documents -pushd docs -PYTHONPATH=../src make html -rm -f _build/html/.buildinfo -popd - - -%install -%py3_install -%if 0%{?with_python3_other} -%py3_other_install -%endif - - -%check -%{__python3} setup.py test -%if 0%{?with_python3_other} -%{__python3_other} setup.py test -%endif - - -%files -n python%{python3_pkgversion}-%{pkgname} -%doc CHANGES.rst README.rst docs/_build/html/ -%license LICENSE.txt COPYRIGHT.txt -%{python3_sitelib}/zope/event/ -%exclude %{python3_sitelib}/zope/event/tests.py* -%exclude %{python3_sitelib}/zope/event/__pycache__/tests* -%dir %{python3_sitelib}/zope/ -%{python3_sitelib}/%{srcname}-*.egg-info -%{python3_sitelib}/%{srcname}-*-nspkg.pth - -%if 0%{?with_python3_other} -%files -n python%{python3_other_pkgversion}-%{pkgname} -%doc CHANGES.rst README.rst docs/_build/html/ -%license LICENSE.txt COPYRIGHT.txt -%{python3_other_sitelib}/zope/event/ -%exclude %{python3_other_sitelib}/zope/event/tests.py* -%exclude %{python3_other_sitelib}/zope/event/__pycache__/tests* -%dir %{python3_other_sitelib}/zope/ -%{python3_other_sitelib}/%{srcname}-*.egg-info -%{python3_other_sitelib}/%{srcname}-*-nspkg.pth -%endif - - -%changelog -* Tue Nov 15 2016 Aurelien Bompard - 4.2.0-1 -- initial Python3-specific package based on the main package. diff --git a/sources b/sources index 86a8e37..e69de29 100644 --- a/sources +++ b/sources @@ -1 +0,0 @@ -c97ef5c7fd1003c754cf72d7bee0a47c zope.event-4.2.0.tar.gz