Accepting request 1089048 from devel:languages:python
- Switch documentation to be within the main package on SLE15 OBS-URL: https://build.opensuse.org/request/show/1089048 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-marshmallow?expand=0&rev=22
This commit is contained in:
commit
1c827531a6
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 23 23:12:16 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Switch documentation to be within the main package on SLE15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:28:05 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user