forked from pool/python-pyserial
Accepting request 1084391 from home:dirkmueller:acdc:as_python3_module
- Switch documentation to be within the main package. OBS-URL: https://build.opensuse.org/request/show/1084391 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyserial?expand=0&rev=35
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -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/*
|
||||
|
||||
|
Reference in New Issue
Block a user