diff --git a/python-marshmallow.changes b/python-marshmallow.changes index 532953e..d7d5a35 100644 --- a/python-marshmallow.changes +++ b/python-marshmallow.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 16 08:45:51 UTC 2023 - Dirk Müller + +- rename docs subpackage to the more common doc name + ------------------------------------------------------------------- Wed Mar 15 14:54:45 UTC 2023 - Matej Cepl diff --git a/python-marshmallow.spec b/python-marshmallow.spec index b121db2..db93125 100644 --- a/python-marshmallow.spec +++ b/python-marshmallow.spec @@ -16,8 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 +%{?!python_module:%define python_module() python3-%{**}} Name: python-marshmallow Version: 3.19.0 Release: 0 @@ -29,10 +28,11 @@ Source: https://files.pythonhosted.org/packages/source/m/marshmallow/mar # https://github.com/humitos/sphinx-version-warning/issues/22 Patch0: python-marshmallow-no-version-warning.patch BuildRequires: %{python_module autodocsumm} +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Suggests: %{name}-docs +Suggests: %{name}-doc Suggests: python-python-dateutil Suggests: python-simplejson BuildArch: noarch @@ -56,15 +56,17 @@ BuildRequires: %{python_module simplejson} # /SECTION %python_subpackages -%package -n %{name}-docs +%package -n %{name}-doc Summary: Documentation files for %{name} Group: Documentation/Other +Provides: %{name}-docs = %{version} +Obsoletes: %{name}-docs < %{version} %description marshmallow is an ORM/ODM/framework-agnostic library for converting complex datatypes, such as objects, to and from native Python datatypes. -%description -n %{name}-docs +%description -n %{name}-doc HTML Documentation and examples for %{name}. %prep @@ -88,7 +90,7 @@ rm -r docs/_build/html/.buildinfo docs/_build/html/.doctrees %license LICENSE NOTICE %{python_sitelib}/* -%files -n %{name}-docs +%files -n %{name}-doc %doc examples docs/_build/html/ %changelog