forked from pool/python-marshmallow
- 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:
parent
fea037dfb0
commit
08cf57840c
@ -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>
|
Wed Mar 15 14:54:45 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -16,8 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-marshmallow
|
Name: python-marshmallow
|
||||||
Version: 3.19.0
|
Version: 3.19.0
|
||||||
Release: 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
|
# https://github.com/humitos/sphinx-version-warning/issues/22
|
||||||
Patch0: python-marshmallow-no-version-warning.patch
|
Patch0: python-marshmallow-no-version-warning.patch
|
||||||
BuildRequires: %{python_module autodocsumm}
|
BuildRequires: %{python_module autodocsumm}
|
||||||
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Suggests: %{name}-docs
|
Suggests: %{name}-doc
|
||||||
Suggests: python-python-dateutil
|
Suggests: python-python-dateutil
|
||||||
Suggests: python-simplejson
|
Suggests: python-simplejson
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -56,15 +56,17 @@ BuildRequires: %{python_module simplejson}
|
|||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%package -n %{name}-docs
|
%package -n %{name}-doc
|
||||||
Summary: Documentation files for %{name}
|
Summary: Documentation files for %{name}
|
||||||
Group: Documentation/Other
|
Group: Documentation/Other
|
||||||
|
Provides: %{name}-docs = %{version}
|
||||||
|
Obsoletes: %{name}-docs < %{version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
marshmallow is an ORM/ODM/framework-agnostic library for converting complex
|
marshmallow is an ORM/ODM/framework-agnostic library for converting complex
|
||||||
datatypes, such as objects, to and from native Python datatypes.
|
datatypes, such as objects, to and from native Python datatypes.
|
||||||
|
|
||||||
%description -n %{name}-docs
|
%description -n %{name}-doc
|
||||||
HTML Documentation and examples for %{name}.
|
HTML Documentation and examples for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -88,7 +90,7 @@ rm -r docs/_build/html/.buildinfo docs/_build/html/.doctrees
|
|||||||
%license LICENSE NOTICE
|
%license LICENSE NOTICE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%files -n %{name}-docs
|
%files -n %{name}-doc
|
||||||
%doc examples docs/_build/html/
|
%doc examples docs/_build/html/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user