Hello community, here is the log from the commit of package python-zope.event for openSUSE:Factory checked in at 2017-06-28 10:32:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-zope.event (Old) and /work/SRC/openSUSE:Factory/.python-zope.event.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-zope.event" Wed Jun 28 10:32:59 2017 rev:8 rq:505418 version:4.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-zope.event/python-zope.event.changes 2015-05-18 23:00:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-zope.event.new/python-zope.event.changes 2017-06-28 10:33:02.442928032 +0200 @@ -1,0 +2,27 @@ +Wed Jun 21 13:43:17 UTC 2017 - jmatejek@suse.com + +- use only python3-Sphinx for doc build +- drop %sitelib redefinition which makes no sense with python-rpm-macros + +------------------------------------------------------------------- +Sat Jun 17 16:25:04 UTC 2017 - okurz@suse.com + +- Update to 4.2.0: + * Add support for Python 3.5. + * Drop support for Python 2.6 and 3.2. +- Prevent duplicate doc package generation +- Cleanup duplicates in build tree + +------------------------------------------------------------------- +Sat Jun 17 16:25:00 UTC 2017 - okurz@suse.com + +- Update to 4.1.0: + * Require 100% branch (as well as statement) coverage. + * Add a simple class-based handler implementation. + +------------------------------------------------------------------- +Sat Mar 11 19:49:38 UTC 2017 - okurz@suse.com + +- Convert package to singlespec + +------------------------------------------------------------------- Old: ---- zope.event-4.0.3.tar.gz New: ---- zope.event-4.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-zope.event.spec ++++++ --- /var/tmp/diff_new_pack.EigAjc/_old 2017-06-28 10:33:04.426647381 +0200 +++ /var/tmp/diff_new_pack.EigAjc/_new 2017-06-28 10:33:04.430646815 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-zope.event # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,26 +16,30 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-zope.event -Version: 4.0.3 +%global modname zope.event +Version: 4.2.0 Release: 0 Summary: Very basic event publishing system License: ZPL-2.1 Group: Development/Libraries/Python -Url: http://pypi.python.org/pypi/zope.event -Source: https://pypi.python.org/packages/source/z/zope.event/zope.event-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-setuptools +Url: http://pypi.python.org/pypi/%{modname} +Source: https://pypi.io/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros # Documentation requirements: -BuildRequires: python-Sphinx -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else +BuildRequires: python3-Sphinx BuildArch: noarch +%define oldpython python +%ifpython2 +Provides: %{oldpython}-zope-event = %{version} +Obsoletes: %{oldpython}-zope-event < %{version} %endif -Provides: python-zope-event = %{version} -Obsoletes: python-zope-event < %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%python_subpackages %description An event publishing system and a very simple event-dispatching system on @@ -43,36 +47,38 @@ example, a type-based event dispatching system that builds on zope.event can be found in zope.component. -%package doc +%package -n %{name}-doc Summary: Very basic event publishing system Group: Development/Languages/Python Requires: %{name} = %{version} -%description doc +%description -n %{name}-doc This package contains documentation files for %{name}. %prep -%setup -q -n zope.event-%{version} +%setup -q -n %{modname}-%{version} %build -python setup.py build +%python_build # cannot give build/lib here, as pkg_resources.py needs the egg info and # raises DistributionNotFound for zope.event, hence build doc directly # from source in order to avoid the need for an external doc package -PYTHONPATH=$(pwd)/src python setup.py build_sphinx && rm build/sphinx/html/.buildinfo +export PYTHONPATH=$(pwd)/src +python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%fdupes %{buildroot}%{_prefix} %check -python setup.py test +%python_exec setup.py test -%files +%files %{python_files} %defattr(-,root,root) %doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst %{python_sitelib}/* -%files doc +%files -n %{name}-doc %defattr(-,root,root,-) %doc build/sphinx/html/ ++++++ zope.event-4.0.3.tar.gz -> zope.event-4.2.0.tar.gz ++++++ ++++ 15223 lines of diff (skipped)