diff --git a/python-marshmallow.changes b/python-marshmallow.changes index 19e3ab8..6fafa87 100644 --- a/python-marshmallow.changes +++ b/python-marshmallow.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 23 23:12:16 UTC 2023 - Matej Cepl + +- Switch documentation to be within the main package on SLE15 + ------------------------------------------------------------------- Fri Apr 21 12:28:05 UTC 2023 - Dirk Müller diff --git a/python-marshmallow.spec b/python-marshmallow.spec index 602ef44..412ce12 100644 --- a/python-marshmallow.spec +++ b/python-marshmallow.spec @@ -57,18 +57,20 @@ BuildRequires: %{python_module simplejson} # /SECTION %python_subpackages +%description +marshmallow is an ORM/ODM/framework-agnostic library for converting complex +datatypes, such as objects, to and from native Python datatypes. + +%if 0%{?suse_version} > 1500 %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}-doc HTML Documentation and examples for %{name}. +%endif %prep %setup -q -n marshmallow-%{version} @@ -91,7 +93,9 @@ rm -r docs/_build/html/.buildinfo docs/_build/html/.doctrees %license LICENSE NOTICE %{python_sitelib}/* +%if 0%{?suse_version} > 1500 %files -n %{name}-doc +%endif %doc examples docs/_build/html/ %changelog