14
0

Accepting request 1084410 from devel:languages:python

Forwarded request #1084391 from dirkmueller

- Switch documentation to be within the main package.

OBS-URL: https://build.opensuse.org/request/show/1084410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyserial?expand=0&rev=20
This commit is contained in:
2023-05-04 15:09:07 +00:00
committed by Git OBS Bridge
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Apr 23 23:19:35 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Switch documentation to be within the main package.
-------------------------------------------------------------------
Fri Apr 21 12:31:20 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-pyserial
Version: 3.5
@@ -40,6 +39,7 @@ BuildArch: noarch
%description
Python Serial Port Extension for Win32, Linux, BSD, Jython, IronPython
%if 0%{?suse_version} > 1500
%package -n %{name}-doc
Summary: Documentation for %{name}
Group: Documentation/Other
@@ -48,6 +48,7 @@ Provides: python3-pyserial-doc = %{version}
%description -n %{name}-doc
Documentation, examples, and help files for %{name}.
%endif
%prep
%setup -q -n pyserial-%{version}
@@ -104,7 +105,9 @@ rm documentation/_build/doctrees/environment.pickle
%{python_sitelib}/serial/
%{python_sitelib}/pyserial-%{version}-py*.egg-info
%if 0%{?suse_version} > 1500
%files -n %{name}-doc
%endif
%doc examples/
%doc documentation/_build/*