From 99a451251925c8573608ad952a33b040c268dd30 Mon Sep 17 00:00:00 2001 From: konradm Date: Sun, 9 Aug 2009 05:24:04 +0000 Subject: [PATCH 01/37] Initial import. --- .cvsignore | 1 + import.log | 1 + python-zope-event.spec | 62 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 65 insertions(+) create mode 100644 import.log create mode 100644 python-zope-event.spec diff --git a/.cvsignore b/.cvsignore index e69de29..e217897 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +zope.event-3.4.1.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..fedf5e4 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +python-zope-event-3_4_1-1_fc11:HEAD:python-zope-event-3.4.1-1.fc11.src.rpm:1249795346 diff --git a/python-zope-event.spec b/python-zope-event.spec new file mode 100644 index 0000000..14e882f --- /dev/null +++ b/python-zope-event.spec @@ -0,0 +1,62 @@ +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: python-zope-event +Version: 3.4.1 +Release: 1%{?dist} +Summary: Zope Event Publication +Group: Development/Languages +License: ZPLv2.1 +URL: http://pypi.python.org/pypi/zope.event/ +Source0: http://pypi.python.org/packages/source/z/zope.event/zope.event-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: python-devel +BuildRequires: python-setuptools +BuildRequires: python-zope-testing +Requires: python-zope-filesystem + + +%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.) + + +%prep +%setup -q -n zope.event-%{version} + + +%build +%{__python} setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + + +%check +%{__python} setup.py test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc README.txt +%{python_sitelib}/zope/* +%{python_sitelib}/zope.event* + + +%changelog +* Sun Jul 5 2009 Conrad Meyer - 3.4.1-1 +- Add missing BR on python-setuptools. +- Enable testing stuff as zope-testing is in devel. + +* Sun Dec 14 2008 Conrad Meyer - 3.4.0-1 +- Initial package. diff --git a/sources b/sources index e69de29..5ae66e9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +dedf8ec89b7852745accbee4aa5110e2 zope.event-3.4.1.tar.gz From 45b873aa3ccc78db27fa47a6cb7c0fe09cc81c32 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 25 Nov 2009 23:32:04 +0000 Subject: [PATCH 02/37] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2cd60ca..307feef 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: python-zope-event -# $Id$ +# $Id: Makefile,v 1.1 2009/07/10 03:40:41 tibbs Exp $ NAME := python-zope-event SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 103801149ba765669883c85e88c8c65d27d17197 Mon Sep 17 00:00:00 2001 From: cheeselee Date: Wed, 16 Jun 2010 18:02:39 +0000 Subject: [PATCH 03/37] - Update to 3.5.0-1 - Include more documents --- .cvsignore | 2 +- python-zope-event.spec | 17 +++++++++++++---- sources | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.cvsignore b/.cvsignore index e217897..6d874ff 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -zope.event-3.4.1.tar.gz +zope.event-3.5.0-1.tar.gz diff --git a/python-zope-event.spec b/python-zope-event.spec index 14e882f..c4065e7 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -1,13 +1,16 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%endif Name: python-zope-event -Version: 3.4.1 +Version: 3.5.0.1 Release: 1%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 URL: http://pypi.python.org/pypi/zope.event/ -Source0: http://pypi.python.org/packages/source/z/zope.event/zope.event-%{version}.tar.gz +# Upstream accidentally used strange version +Source0: http://pypi.python.org/packages/source/z/zope.event/zope.event-3.5.0-1.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -26,7 +29,7 @@ zope.event can be found in zope.component.) %prep -%setup -q -n zope.event-%{version} +%setup -q -n zope.event-3.5.0-1 %build @@ -36,6 +39,7 @@ zope.event can be found in zope.component.) %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/event/*.txt %check @@ -48,12 +52,17 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc README.txt +%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt +%doc src/zope/event/*.txt %{python_sitelib}/zope/* %{python_sitelib}/zope.event* %changelog +* Thu Jun 17 2010 Robin Lee - 3.5.0.1-1 +- Update to 3.5.0-1 +- Include more documents + * Sun Jul 5 2009 Conrad Meyer - 3.4.1-1 - Add missing BR on python-setuptools. - Enable testing stuff as zope-testing is in devel. diff --git a/sources b/sources index 5ae66e9..4a3e789 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -dedf8ec89b7852745accbee4aa5110e2 zope.event-3.4.1.tar.gz +5940673553add7a75ec47d3b916ba7d1 zope.event-3.5.0-1.tar.gz From 726bd451125618887093e6a055ec2ad71ca57b2b Mon Sep 17 00:00:00 2001 From: dmalcolm Date: Thu, 22 Jul 2010 06:00:28 +0000 Subject: [PATCH 04/37] - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index c4065e7..06bdc04 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 3.5.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -59,6 +59,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Jul 22 2010 David Malcolm - 3.5.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + * Thu Jun 17 2010 Robin Lee - 3.5.0.1-1 - Update to 3.5.0-1 - Include more documents From 1ee7100f7d124b9116d967e47bab62342ce6233b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 10:53:29 +0000 Subject: [PATCH 05/37] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- import.log | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 307feef..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: python-zope-event -# $Id: Makefile,v 1.1 2009/07/10 03:40:41 tibbs Exp $ -NAME := python-zope-event -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/import.log b/import.log deleted file mode 100644 index fedf5e4..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -python-zope-event-3_4_1-1_fc11:HEAD:python-zope-event-3.4.1-1.fc11.src.rpm:1249795346 From 4b268c816390a37c133636a26e52546445978d31 Mon Sep 17 00:00:00 2001 From: Robin Lee Date: Tue, 31 Aug 2010 10:21:14 +0800 Subject: [PATCH 06/37] - Remove python-zope-filesystem from requirements - Own %%{python_sitelib}/zope/ - Spec cleaned up --- python-zope-event.spec | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 06bdc04..053078c 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -1,23 +1,17 @@ -%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%endif - Name: python-zope-event Version: 3.5.0.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 URL: http://pypi.python.org/pypi/zope.event/ # Upstream accidentally used strange version Source0: http://pypi.python.org/packages/source/z/zope.event/zope.event-3.5.0-1.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: python-zope-testing -Requires: python-zope-filesystem %description @@ -37,7 +31,6 @@ zope.event can be found in zope.component.) %install -rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/event/*.txt @@ -46,19 +39,22 @@ rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/event/*.txt %{__python} setup.py test -%clean -rm -rf $RPM_BUILD_ROOT - - %files %defattr(-,root,root,-) %doc CHANGES.txt COPYRIGHT.txt LICENSE.txt %doc src/zope/event/*.txt -%{python_sitelib}/zope/* -%{python_sitelib}/zope.event* +%{python_sitelib}/zope/event/ +%dir {python_sitelib}/zope/ +%{python_sitelib}/zope.event-*.egg-info +%{python_sitelib}/zope.event-*-nspkg.pth %changelog +* Tue Aug 31 2010 Robin Lee - 3.5.0.1-3 +- Remove python-zope-filesystem from requirements +- Own %%{python_sitelib}/zope/ +- Spec cleaned up + * Thu Jul 22 2010 David Malcolm - 3.5.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild From 512263b530c3be78bd9c0622e7df8a826801b9eb Mon Sep 17 00:00:00 2001 From: Robin Lee Date: Tue, 31 Aug 2010 10:29:26 +0800 Subject: [PATCH 07/37] - Add a missed percent character --- python-zope-event.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 053078c..c74cde6 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -1,6 +1,6 @@ Name: python-zope-event Version: 3.5.0.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -44,12 +44,15 @@ rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/event/*.txt %doc CHANGES.txt COPYRIGHT.txt LICENSE.txt %doc src/zope/event/*.txt %{python_sitelib}/zope/event/ -%dir {python_sitelib}/zope/ +%dir %{python_sitelib}/zope/ %{python_sitelib}/zope.event-*.egg-info %{python_sitelib}/zope.event-*-nspkg.pth %changelog +* Tue Aug 31 2010 Robin Lee - 3.5.0.1-4 +- Add a missed percent character + * Tue Aug 31 2010 Robin Lee - 3.5.0.1-3 - Remove python-zope-filesystem from requirements - Own %%{python_sitelib}/zope/ From f4c81028866782bc9eee355ca9b3593735eef17d Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 9 Feb 2011 01:32:16 -0600 Subject: [PATCH 08/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index c74cde6..96ce4f1 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -1,6 +1,6 @@ Name: python-zope-event Version: 3.5.0.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -50,6 +50,9 @@ rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/event/*.txt %changelog +* Wed Feb 09 2011 Fedora Release Engineering - 3.5.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Tue Aug 31 2010 Robin Lee - 3.5.0.1-4 - Add a missed percent character From bb1a830dac5ba9db56703f7d5be86bf82b29c3e3 Mon Sep 17 00:00:00 2001 From: Robin Lee Date: Thu, 1 Sep 2011 12:34:19 +0800 Subject: [PATCH 09/37] - Update to 3.5.1 (#728489) - Build subpackage for Python 3. - Include the sphinx documents - Exclude the module for tests. --- .gitignore | 1 + python-zope-event.spec | 61 +++++++++++++++++++++++++++++++++--------- sources | 2 +- 3 files changed, 51 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 6d874ff..f4fef9b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ zope.event-3.5.0-1.tar.gz +/zope.event-3.5.1.tar.gz diff --git a/python-zope-event.spec b/python-zope-event.spec index 96ce4f1..a1e3206 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -1,18 +1,19 @@ Name: python-zope-event -Version: 3.5.0.1 -Release: 5%{?dist} +Version: 3.5.1 +Release: 1%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 URL: http://pypi.python.org/pypi/zope.event/ # Upstream accidentally used strange version -Source0: http://pypi.python.org/packages/source/z/zope.event/zope.event-3.5.0-1.tar.gz +Source0: http://pypi.python.org/packages/source/z/zope.event/zope.event-%{version}.tar.gz BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools -BuildRequires: python-zope-testing - +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python-sphinx %description The zope.event package provides a simple event system. It provides @@ -21,35 +22,71 @@ 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. + +%package -n python3-zope-event +Summary: Zope Event Publication (Python 3) + +%description -n python3-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 3. %prep -%setup -q -n zope.event-3.5.0-1 +%setup -q -n zope.event-%{version} %build %{__python} setup.py build +%{__python3} setup.py build + +# build the sphinx documents +pushd docs +PYTHONPATH=../src make html +rm -f _build/html/.buildinfo +popd %install %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/event/*.txt - +%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %check %{__python} setup.py test - +%{__python3} setup.py test %files -%defattr(-,root,root,-) -%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt -%doc src/zope/event/*.txt +%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt +%doc docs/_build/html/ %{python_sitelib}/zope/event/ +%exclude %{python_sitelib}/zope/event/tests.py* %dir %{python_sitelib}/zope/ %{python_sitelib}/zope.event-*.egg-info %{python_sitelib}/zope.event-*-nspkg.pth +%files -n python3-zope-event +%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt +%doc docs/_build/html/ +%{python3_sitelib}/zope/event/ +%exclude %{python3_sitelib}/zope/event/tests.py* +%exclude %{python3_sitelib}/zope/event/__pycache__/ +%dir %{python3_sitelib}/zope/ +%{python3_sitelib}/zope.event-*.egg-info +%{python3_sitelib}/zope.event-*-nspkg.pth + + %changelog +* Thu Sep 1 2011 Robin Lee - 3.5.1-1 +- Update to 3.5.1 (#728489) +- Build subpackage for Python 3. +- Include the sphinx documents +- Exclude the module for tests. + * Wed Feb 09 2011 Fedora Release Engineering - 3.5.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 4a3e789..9d9338a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5940673553add7a75ec47d3b916ba7d1 zope.event-3.5.0-1.tar.gz +f18363bf9926f1762fa580cc69bd97ec zope.event-3.5.1.tar.gz From 2fadb35d427d1d2be5f45b6cbe77f516d1176b9d Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 13 Jan 2012 20:20:49 -0600 Subject: [PATCH 10/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index a1e3206..040b4bb 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -1,6 +1,6 @@ Name: python-zope-event Version: 3.5.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -81,6 +81,9 @@ popd %changelog +* Sat Jan 14 2012 Fedora Release Engineering - 3.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Thu Sep 1 2011 Robin Lee - 3.5.1-1 - Update to 3.5.1 (#728489) - Build subpackage for Python 3. From bb444b0a5ad460d00e30a8599d9ec0bacd9dd1ab Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 21 Jul 2012 06:26:02 -0500 Subject: [PATCH 11/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 040b4bb..5701105 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -1,6 +1,6 @@ Name: python-zope-event Version: 3.5.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -81,6 +81,9 @@ popd %changelog +* Sat Jul 21 2012 Fedora Release Engineering - 3.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Sat Jan 14 2012 Fedora Release Engineering - 3.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From d3afa30ef8b558ff42032c0b3ad0bc9f9e7326bc Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Sat, 4 Aug 2012 06:23:34 -0400 Subject: [PATCH 12/37] rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 5701105..962f194 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -1,6 +1,6 @@ Name: python-zope-event Version: 3.5.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -81,6 +81,9 @@ popd %changelog +* Sat Aug 04 2012 David Malcolm - 3.5.1-4 +- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 + * Sat Jul 21 2012 Fedora Release Engineering - 3.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From 345691c1b3e7a9c6f7faabb4b401b401fcc35047 Mon Sep 17 00:00:00 2001 From: Robin Lee Date: Thu, 18 Oct 2012 14:10:10 +0800 Subject: [PATCH 13/37] Update to 3.5.2 (ZTK 1.1.5) --- .gitignore | 1 + python-zope-event.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index f4fef9b..55b5b4c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ zope.event-3.5.0-1.tar.gz /zope.event-3.5.1.tar.gz +/zope.event-3.5.2.tar.gz diff --git a/python-zope-event.spec b/python-zope-event.spec index 962f194..c618dd6 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -1,6 +1,6 @@ Name: python-zope-event -Version: 3.5.1 -Release: 4%{?dist} +Version: 3.5.2 +Release: 1%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -73,7 +73,7 @@ popd %doc docs/_build/html/ %{python3_sitelib}/zope/event/ %exclude %{python3_sitelib}/zope/event/tests.py* -%exclude %{python3_sitelib}/zope/event/__pycache__/ +%exclude %{python3_sitelib}/zope/event/__pycache__/tests* %dir %{python3_sitelib}/zope/ %{python3_sitelib}/zope.event-*.egg-info %{python3_sitelib}/zope.event-*-nspkg.pth @@ -81,6 +81,9 @@ popd %changelog +* Thu Oct 18 2012 Robin Lee - 3.5.2-1 +- Update to 3.5.2 (ZTK 1.1.5) + * Sat Aug 04 2012 David Malcolm - 3.5.1-4 - rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 diff --git a/sources b/sources index 9d9338a..4535f4f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f18363bf9926f1762fa580cc69bd97ec zope.event-3.5.1.tar.gz +6e8af2a16157a74885d4f0d88137cefb zope.event-3.5.2.tar.gz From 8b847e59b7d7902de234bf00d7c1c1d9c74ad663 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 14 Feb 2013 10:35:58 -0500 Subject: [PATCH 14/37] Latest upstream and conditionalized py3 support. --- .gitignore | 1 + python-zope-event.spec | 38 +++++++++++++++++++++++++++++++++----- sources | 2 +- 3 files changed, 35 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 55b5b4c..84b9c5b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ zope.event-3.5.0-1.tar.gz /zope.event-3.5.1.tar.gz /zope.event-3.5.2.tar.gz +/zope.event-4.0.2.tar.gz diff --git a/python-zope-event.spec b/python-zope-event.spec index c618dd6..40d9b3c 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -1,5 +1,9 @@ +%if 0%{?fedora} +%global with_python3 1 +%endif + Name: python-zope-event -Version: 3.5.2 +Version: 4.0.2 Release: 1%{?dist} Summary: Zope Event Publication Group: Development/Languages @@ -24,6 +28,7 @@ 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) @@ -35,14 +40,25 @@ 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 + +%if 0%{?with_python3} +rm -rf %{py3dir} +cp -a . %{py3dir} +%endif %build %{__python} setup.py build +%if 0%{?with_python3} +pushd %{py3dir} %{__python3} setup.py build +popd +%endif # build the sphinx documents pushd docs @@ -52,12 +68,20 @@ popd %install -%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +%if 0%{?with_python3} +pushd %{py3dir} +%{__python3} setup.py install -O1 --skip-build --root %{buildroot} +popd +%endif +%{__python} setup.py install -O1 --skip-build --root %{buildroot} %check %{__python} setup.py test +%if 0%{?with_python3} +pushd %{py3dir} %{__python3} setup.py test +popd +%endif %files %doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt @@ -68,6 +92,7 @@ popd %{python_sitelib}/zope.event-*.egg-info %{python_sitelib}/zope.event-*-nspkg.pth +%if 0%{?with_python3} %files -n python3-zope-event %doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt %doc docs/_build/html/ @@ -77,10 +102,13 @@ popd %dir %{python3_sitelib}/zope/ %{python3_sitelib}/zope.event-*.egg-info %{python3_sitelib}/zope.event-*-nspkg.pth - - +%endif %changelog +* Thu Feb 14 2013 Ralph Bean - 4.0.2-1 +- Latest upstream. +- Conditionalized python3 subpackage for el6. + * Thu Oct 18 2012 Robin Lee - 3.5.2-1 - Update to 3.5.2 (ZTK 1.1.5) diff --git a/sources b/sources index 4535f4f..5be5f8b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6e8af2a16157a74885d4f0d88137cefb zope.event-3.5.2.tar.gz +e08dd299d428d77a1cfcbfe841b81872 zope.event-4.0.2.tar.gz From e5a81d9fb96883db64125147c961fe88032719fc Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 06:02:26 -0500 Subject: [PATCH 15/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 40d9b3c..7bee1b7 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -105,6 +105,9 @@ popd %endif %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 4.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Thu Feb 14 2013 Ralph Bean - 4.0.2-1 - Latest upstream. - Conditionalized python3 subpackage for el6. From d7a38ba016650a4d34259514b0fda053d3c1d64a Mon Sep 17 00:00:00 2001 From: Slavek Kabrda Date: Thu, 15 May 2014 16:16:51 +0200 Subject: [PATCH 16/37] Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 7bee1b7..bab90e1 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -105,6 +105,9 @@ popd %endif %changelog +* Wed May 14 2014 Bohuslav Kabrda - 4.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + * Sun Aug 04 2013 Fedora Release Engineering - 4.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From 647470d5cfa63f8a3b79d9e677542fa101a71581 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 19:32:26 -0500 Subject: [PATCH 17/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index bab90e1..519b5da 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.0.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -105,6 +105,9 @@ popd %endif %changelog +* Sun Jun 08 2014 Fedora Release Engineering - 4.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Wed May 14 2014 Bohuslav Kabrda - 4.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 From 48393c71d01d67f767a732db9d59fea27ad408fa Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 21 Jul 2014 19:56:10 -0400 Subject: [PATCH 18/37] Latest upstream. --- .gitignore | 1 + python-zope-event.spec | 11 +++++++---- sources | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 84b9c5b..c9c1a00 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ zope.event-3.5.0-1.tar.gz /zope.event-3.5.1.tar.gz /zope.event-3.5.2.tar.gz /zope.event-4.0.2.tar.gz +/zope.event-4.0.3.tar.gz diff --git a/python-zope-event.spec b/python-zope-event.spec index 519b5da..11da5e7 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -3,8 +3,8 @@ %endif Name: python-zope-event -Version: 4.0.2 -Release: 4%{?dist} +Version: 4.0.3 +Release: 1%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -84,7 +84,7 @@ popd %endif %files -%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt +%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst %doc docs/_build/html/ %{python_sitelib}/zope/event/ %exclude %{python_sitelib}/zope/event/tests.py* @@ -94,7 +94,7 @@ popd %if 0%{?with_python3} %files -n python3-zope-event -%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt +%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst %doc docs/_build/html/ %{python3_sitelib}/zope/event/ %exclude %{python3_sitelib}/zope/event/tests.py* @@ -105,6 +105,9 @@ popd %endif %changelog +* Mon Jul 21 2014 Ralph Bean - 4.0.3-1 +- Latest upstream. + * Sun Jun 08 2014 Fedora Release Engineering - 4.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/sources b/sources index 5be5f8b..ddda150 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e08dd299d428d77a1cfcbfe841b81872 zope.event-4.0.2.tar.gz +9a3780916332b18b8b85f522bcc3e249 zope.event-4.0.3.tar.gz From 4ab0cef72c749961898a864eba8708194c28d4a8 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 21 Jul 2014 20:15:42 -0400 Subject: [PATCH 19/37] Own these files, also. --- python-zope-event.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-zope-event.spec b/python-zope-event.spec index 11da5e7..6259251 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -89,6 +89,7 @@ popd %{python_sitelib}/zope/event/ %exclude %{python_sitelib}/zope/event/tests.py* %dir %{python_sitelib}/zope/ +%{python_sitelib}/zope/__init__* %{python_sitelib}/zope.event-*.egg-info %{python_sitelib}/zope.event-*-nspkg.pth @@ -100,6 +101,7 @@ popd %exclude %{python3_sitelib}/zope/event/tests.py* %exclude %{python3_sitelib}/zope/event/__pycache__/tests* %dir %{python3_sitelib}/zope/ +%{python3_sitelib}/zope/__init__* %{python3_sitelib}/zope.event-*.egg-info %{python3_sitelib}/zope.event-*-nspkg.pth %endif From 172097dd278f7a4e9a84791a440735a584b40c9b Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 15 Oct 2014 09:35:32 -0400 Subject: [PATCH 20/37] Fix python3 conditional block. --- python-zope-event.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 6259251..0b1a362 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.0.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -15,8 +15,12 @@ BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools + +%if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools +%endif + BuildRequires: python-sphinx %description @@ -107,6 +111,9 @@ popd %endif %changelog +* Wed Oct 15 2014 Ralph Bean - 4.0.3-2 +- Fix a python3 conditional block. + * Mon Jul 21 2014 Ralph Bean - 4.0.3-1 - Latest upstream. From 09cf6627ddceb3e435d26ffdffd2a8f334940e42 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 18 Jun 2015 21:27:37 +0000 Subject: [PATCH 21/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 0b1a362..693387f 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.0.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -111,6 +111,9 @@ popd %endif %changelog +* Thu Jun 18 2015 Fedora Release Engineering - 4.0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Wed Oct 15 2014 Ralph Bean - 4.0.3-2 - Fix a python3 conditional block. From bc5667e16ad245c054f53d7624d24382197f073a Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 19 Oct 2015 12:58:17 -0400 Subject: [PATCH 22/37] 4.1.0 --- .gitignore | 1 + python-zope-event.spec | 14 ++++++++++---- sources | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index c9c1a00..ec18b64 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ zope.event-3.5.0-1.tar.gz /zope.event-3.5.2.tar.gz /zope.event-4.0.2.tar.gz /zope.event-4.0.3.tar.gz +/zope.event-4.1.0.tar.gz diff --git a/python-zope-event.spec b/python-zope-event.spec index 693387f..27227ca 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -3,8 +3,8 @@ %endif Name: python-zope-event -Version: 4.0.3 -Release: 3%{?dist} +Version: 4.1.0 +Release: 1%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -93,7 +93,7 @@ popd %{python_sitelib}/zope/event/ %exclude %{python_sitelib}/zope/event/tests.py* %dir %{python_sitelib}/zope/ -%{python_sitelib}/zope/__init__* +#%{python_sitelib}/zope/__init__* %{python_sitelib}/zope.event-*.egg-info %{python_sitelib}/zope.event-*-nspkg.pth @@ -105,12 +105,18 @@ popd %exclude %{python3_sitelib}/zope/event/tests.py* %exclude %{python3_sitelib}/zope/event/__pycache__/tests* %dir %{python3_sitelib}/zope/ -%{python3_sitelib}/zope/__init__* +#%{python3_sitelib}/zope/__init__* %{python3_sitelib}/zope.event-*.egg-info %{python3_sitelib}/zope.event-*-nspkg.pth %endif %changelog +* Mon Oct 19 2015 Ralph Bean - 4.1.0-1 +- new version + +* Mon Oct 19 2015 Ralph Bean - 4.0.3-4 +- No longer own zope/__init__.py. + * Thu Jun 18 2015 Fedora Release Engineering - 4.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index ddda150..4b91077 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9a3780916332b18b8b85f522bcc3e249 zope.event-4.0.3.tar.gz +82abb495b6eb2ad196a1a94948674ec0 zope.event-4.1.0.tar.gz From e7890f64142d046afb735d694bf13c1b58fe4832 Mon Sep 17 00:00:00 2001 From: Matej Stuchlik Date: Wed, 4 Nov 2015 12:23:45 +0100 Subject: [PATCH 23/37] Rebuilt for Python 3.5 --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 27227ca..cb303db 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -111,6 +111,9 @@ popd %endif %changelog +* Wed Nov 04 2015 Matej Stuchlik - 4.1.0-2 +- Rebuilt for Python 3.5 + * Mon Oct 19 2015 Ralph Bean - 4.1.0-1 - new version From 246dd0a9e6e69ea97a753c3e9a30d53f189be886 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 4 Feb 2016 21:28:59 +0000 Subject: [PATCH 24/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index cb303db..dd76630 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -111,6 +111,9 @@ popd %endif %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 4.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Nov 04 2015 Matej Stuchlik - 4.1.0-2 - Rebuilt for Python 3.5 From 2a293a41654d84b29a295be84c367f547d605d35 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Fri, 19 Feb 2016 16:30:58 -0500 Subject: [PATCH 25/37] 4.2.0 --- .gitignore | 1 + python-zope-event.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index ec18b64..b2efd5c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ zope.event-3.5.0-1.tar.gz /zope.event-4.0.2.tar.gz /zope.event-4.0.3.tar.gz /zope.event-4.1.0.tar.gz +/zope.event-4.2.0.tar.gz diff --git a/python-zope-event.spec b/python-zope-event.spec index dd76630..2a5f6ca 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -3,8 +3,8 @@ %endif Name: python-zope-event -Version: 4.1.0 -Release: 3%{?dist} +Version: 4.2.0 +Release: 1%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -111,6 +111,9 @@ popd %endif %changelog +* Fri Feb 19 2016 Ralph Bean - 4.2.0-1 +- new version + * Thu Feb 04 2016 Fedora Release Engineering - 4.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 4b91077..86a8e37 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -82abb495b6eb2ad196a1a94948674ec0 zope.event-4.1.0.tar.gz +c97ef5c7fd1003c754cf72d7bee0a47c zope.event-4.2.0.tar.gz From f21b7dab3b283ce180a32d36ae6d2216e09df8f7 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 28 Jun 2016 12:17:29 -0400 Subject: [PATCH 26/37] Create explicit python2 subpackage. --- python-zope-event.spec | 79 +++++++++++++++++++++++------------------- 1 file changed, 43 insertions(+), 36 deletions(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 2a5f6ca..1a5dfa9 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,26 +4,33 @@ Name: python-zope-event Version: 4.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 URL: http://pypi.python.org/pypi/zope.event/ -# Upstream accidentally used strange version Source0: http://pypi.python.org/packages/source/z/zope.event/zope.event-%{version}.tar.gz BuildArch: noarch -BuildRequires: python-devel -BuildRequires: python-setuptools +%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.) -%if 0%{?with_python3} -BuildRequires: python3-devel -BuildRequires: python3-setuptools -%endif +%package -n python2-zope-event +Summary: Zope Event Publication (Python 2) +%{?python_provide:%python_provide python2-zope-event} -BuildRequires: python-sphinx +BuildRequires: python2-devel +BuildRequires: python2-setuptools -%description +BuildRequires: python2-sphinx + +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. @@ -35,6 +42,12 @@ 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} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +Requires: python3 %description -n python3-zope-event The zope.event package provides a simple event system. It provides @@ -50,18 +63,10 @@ This package contains the version for Python 3. %setup -q -n zope.event-%{version} rm -rf %{modname}.egg-info -%if 0%{?with_python3} -rm -rf %{py3dir} -cp -a . %{py3dir} -%endif - - %build -%{__python} setup.py build +%py2_build %if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py build -popd +%py3_build %endif # build the sphinx documents @@ -73,34 +78,32 @@ popd %install %if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py install -O1 --skip-build --root %{buildroot} -popd +%py3_install %endif -%{__python} setup.py install -O1 --skip-build --root %{buildroot} +%py2_install %check -%{__python} setup.py test +%{__python2} setup.py test %if 0%{?with_python3} -pushd %{py3dir} %{__python3} setup.py test -popd %endif - -%files -%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst + +%files -n python2-zope-event +%doc CHANGES.rst COPYRIGHT.txt README.rst %doc docs/_build/html/ -%{python_sitelib}/zope/event/ -%exclude %{python_sitelib}/zope/event/tests.py* -%dir %{python_sitelib}/zope/ -#%{python_sitelib}/zope/__init__* -%{python_sitelib}/zope.event-*.egg-info -%{python_sitelib}/zope.event-*-nspkg.pth +%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/ +%license LICENSE.txt %{python3_sitelib}/zope/event/ %exclude %{python3_sitelib}/zope/event/tests.py* %exclude %{python3_sitelib}/zope/event/__pycache__/tests* @@ -111,6 +114,10 @@ popd %endif %changelog +* Tue Jun 28 2016 Ralph Bean - 4.2.0-2 +- Modernized python macros. +- Added an explicit python2 subpackage. + * Fri Feb 19 2016 Ralph Bean - 4.2.0-1 - new version From 0f6f38989e934a8b8d5842d03c6bb34c24eda3c3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 19 Jul 2016 12:15:24 +0000 Subject: [PATCH 27/37] - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 1a5dfa9..065f33f 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -114,6 +114,9 @@ popd %endif %changelog +* Tue Jul 19 2016 Fedora Release Engineering - 4.2.0-3 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + * Tue Jun 28 2016 Ralph Bean - 4.2.0-2 - Modernized python macros. - Added an explicit python2 subpackage. From 7bb095cd6e104a5d71faa5cf9cd06de3d0327d21 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Sun, 11 Dec 2016 15:22:28 +0100 Subject: [PATCH 28/37] Rebuild for Python 3.6 --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 065f33f..e87eb68 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.2.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -114,6 +114,9 @@ popd %endif %changelog +* Fri Dec 09 2016 Charalampos Stratakis - 4.2.0-4 +- Rebuild for Python 3.6 + * Tue Jul 19 2016 Fedora Release Engineering - 4.2.0-3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages From 3a15d0458546d82b08c54fdf2cbcf327f4541e93 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 11:01:45 +0000 Subject: [PATCH 29/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index e87eb68..25cf00c 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.2.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -114,6 +114,9 @@ popd %endif %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 4.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Fri Dec 09 2016 Charalampos Stratakis - 4.2.0-4 - Rebuild for Python 3.6 From bbb3e2adcfcd430f1e00b142fb6bdf8d58bb0d62 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 12:23:36 +0000 Subject: [PATCH 30/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 25cf00c..9b0d77e 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.2.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -114,6 +114,9 @@ popd %endif %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 4.2.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sat Feb 11 2017 Fedora Release Engineering - 4.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 5927aeecb02b17574cd8b5cddd345974163e80a4 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Fri, 29 Sep 2017 12:00:50 -0700 Subject: [PATCH 31/37] Cleanup spec file conditionals --- python-zope-event.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 9b0d77e..089bc01 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -1,10 +1,10 @@ -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 %global with_python3 1 %endif Name: python-zope-event Version: 4.2.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -114,6 +114,9 @@ popd %endif %changelog +* Fri Sep 29 2017 Troy Dawson - 4.2.0-7 +- Cleanup spec file conditionals + * Thu Jul 27 2017 Fedora Release Engineering - 4.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From a18a656044f07e55cf24b5d2a437d7eef8b7d936 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 11:51:43 +0000 Subject: [PATCH 32/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 089bc01..9223256 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.2.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -114,6 +114,9 @@ popd %endif %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 4.2.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Sep 29 2017 Troy Dawson - 4.2.0-7 - Cleanup spec file conditionals From 2d285e3c9bb53fc3ea7bc591ad8a6d565f1593b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 13 Jun 2018 13:19:05 +0200 Subject: [PATCH 33/37] Build the docs with Python 3 --- python-zope-event.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 9223256..e975f9e 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.2.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -26,8 +26,6 @@ Summary: Zope Event Publication (Python 2) BuildRequires: python2-devel BuildRequires: python2-setuptools -BuildRequires: python2-sphinx - Requires: python2 %description -n python2-zope-event @@ -47,6 +45,8 @@ Summary: Zope Event Publication (Python 3) BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-sphinx + Requires: python3 %description -n python3-zope-event @@ -71,7 +71,7 @@ rm -rf %{modname}.egg-info # build the sphinx documents pushd docs -PYTHONPATH=../src make html +PYTHONPATH=../src make SPHINXBUILD=sphinx-build-3 html rm -f _build/html/.buildinfo popd @@ -114,6 +114,9 @@ popd %endif %changelog +* Wed Jun 13 2018 Miro Hrončok - 4.2.0-9 +- Build the docs with Python 3 + * Fri Feb 09 2018 Fedora Release Engineering - 4.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 767737b13a809b53c5a2820375ffb483182bb57b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sun, 17 Jun 2018 17:14:26 +0200 Subject: [PATCH 34/37] Rebuilt for Python 3.7 --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index e975f9e..ffdfe37 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.2.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -114,6 +114,9 @@ popd %endif %changelog +* Sun Jun 17 2018 Miro Hrončok - 4.2.0-10 +- Rebuilt for Python 3.7 + * Wed Jun 13 2018 Miro Hrončok - 4.2.0-9 - Build the docs with Python 3 From 6b0871f2acfb9ae3f8a415317c9c0a97949500c9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 02:46:39 +0000 Subject: [PATCH 35/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index ffdfe37..52ad03c 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.2.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Zope Event Publication Group: Development/Languages License: ZPLv2.1 @@ -114,6 +114,9 @@ popd %endif %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 4.2.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Sun Jun 17 2018 Miro Hrončok - 4.2.0-10 - Rebuilt for Python 3.7 From 1490eed2fe1b4a71ac8043eeeb032e17e6226d8f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:19 +0100 Subject: [PATCH 36/37] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- python-zope-event.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index 52ad03c..be177ed 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -6,7 +6,6 @@ Name: python-zope-event Version: 4.2.0 Release: 11%{?dist} Summary: Zope Event Publication -Group: Development/Languages License: ZPLv2.1 URL: http://pypi.python.org/pypi/zope.event/ Source0: http://pypi.python.org/packages/source/z/zope.event/zope.event-%{version}.tar.gz From b1d9ee91d708907d41bda9741947f137bac6ab76 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 10:14:26 +0000 Subject: [PATCH 37/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-zope-event.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zope-event.spec b/python-zope-event.spec index be177ed..d3ef567 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -4,7 +4,7 @@ Name: python-zope-event Version: 4.2.0 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Zope Event Publication License: ZPLv2.1 URL: http://pypi.python.org/pypi/zope.event/ @@ -113,6 +113,9 @@ popd %endif %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 4.2.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 14 2018 Fedora Release Engineering - 4.2.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild