diff --git a/python-zope.deprecation.changes b/python-zope.deprecation.changes index 11ade5b..37dba43 100644 --- a/python-zope.deprecation.changes +++ b/python-zope.deprecation.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Feb 1 13:14:15 UTC 2023 - Ben Greiner + +- Implement python packaging best practise: Don't cathall platlib +- Explicitly require python3-Sphinx for building the docs. It could + have been omitted from %pythons for %python_module in a 15.X + backport project. + ------------------------------------------------------------------- Fri Sep 24 11:51:36 UTC 2021 - pgajdos@suse.com diff --git a/python-zope.deprecation.spec b/python-zope.deprecation.spec index 73d4f14..61cc458 100644 --- a/python-zope.deprecation.spec +++ b/python-zope.deprecation.spec @@ -1,7 +1,7 @@ # # spec file for package python-zope.deprecation # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2013 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -17,7 +17,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-zope.deprecation Version: 4.4.0 Release: 0 @@ -30,7 +29,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch # SECTION documentation requirements -BuildRequires: %{python_module Sphinx} +BuildRequires: python3-Sphinx # /SECTION %python_subpackages @@ -67,7 +66,10 @@ pushd build/lib %files %{python_files} %license LICENSE.txt %doc CHANGES.rst COPYRIGHT.txt README.rst -%{python_sitelib}/* +%dir %{python_sitelib}/zope +%{python_sitelib}/zope.deprecation-%{version}*-info +%{python_sitelib}/zope.deprecation-%{version}*-nspkg.pth +%{python_sitelib}/zope/deprecation %files -n %{name}-doc %doc build/sphinx/html/