Accepting request 1084356 from home:dirkmueller:acdc:as_python3_module
- Switch documentation to be within the main package. OBS-URL: https://build.opensuse.org/request/show/1084356 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bottle?expand=0&rev=47
This commit is contained in:
parent
7e1f597448
commit
96cee595d3
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 23 23:06:11 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Switch documentation to be within the main package.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:22:51 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:22:51 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -40,6 +40,7 @@ built-in HTTP server, and adapters for many third party WSGI/HTTP
|
|||||||
servers and template engines. This is all in a single file and with
|
servers and template engines. This is all in a single file and with
|
||||||
no dependencies other than the Python Standard Library.
|
no dependencies other than the Python Standard Library.
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
%package -n %{name}-doc
|
%package -n %{name}-doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for %{name}
|
||||||
Provides: %{python_module bottle-doc = %{version}}
|
Provides: %{python_module bottle-doc = %{version}}
|
||||||
@ -52,6 +53,7 @@ servers and template engines. This is all in a single file and with
|
|||||||
no dependencies other than the Python Standard Library.
|
no dependencies other than the Python Standard Library.
|
||||||
|
|
||||||
This subpackage contains the PDF documentation for %{name}.
|
This subpackage contains the PDF documentation for %{name}.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n bottle-%{version}
|
%setup -q -n bottle-%{version}
|
||||||
@ -83,7 +85,9 @@ cp %{SOURCE1} .
|
|||||||
%pycache_only %{python_sitelib}/__pycache__
|
%pycache_only %{python_sitelib}/__pycache__
|
||||||
%{python_sitelib}/bottle-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/bottle-%{version}-py%{python_version}.egg-info
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
%files -n %{name}-doc
|
%files -n %{name}-doc
|
||||||
|
%endif
|
||||||
%doc bottle-docs.pdf
|
%doc bottle-docs.pdf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user