1
0

- rename docs subpackage to the more common doc name

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=41
This commit is contained in:
Dirk Mueller 2023-03-16 08:47:43 +00:00 committed by Git OBS Bridge
parent fea037dfb0
commit 08cf57840c
2 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 16 08:45:51 UTC 2023 - Dirk Müller <dmueller@suse.com>
- rename docs subpackage to the more common doc name
-------------------------------------------------------------------
Wed Mar 15 14:54:45 UTC 2023 - Matej Cepl <mcepl@suse.com>

View File

@ -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