forked from pool/python-pyserial
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:
@@ -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>
|
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}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pyserial
|
Name: python-pyserial
|
||||||
Version: 3.5
|
Version: 3.5
|
||||||
@@ -40,6 +39,7 @@ BuildArch: noarch
|
|||||||
%description
|
%description
|
||||||
Python Serial Port Extension for Win32, Linux, BSD, Jython, IronPython
|
Python Serial Port Extension for Win32, Linux, BSD, Jython, IronPython
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
%package -n %{name}-doc
|
%package -n %{name}-doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for %{name}
|
||||||
Group: Documentation/Other
|
Group: Documentation/Other
|
||||||
@@ -48,6 +48,7 @@ Provides: python3-pyserial-doc = %{version}
|
|||||||
|
|
||||||
%description -n %{name}-doc
|
%description -n %{name}-doc
|
||||||
Documentation, examples, and help files for %{name}.
|
Documentation, examples, and help files for %{name}.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pyserial-%{version}
|
%setup -q -n pyserial-%{version}
|
||||||
@@ -104,7 +105,9 @@ rm documentation/_build/doctrees/environment.pickle
|
|||||||
%{python_sitelib}/serial/
|
%{python_sitelib}/serial/
|
||||||
%{python_sitelib}/pyserial-%{version}-py*.egg-info
|
%{python_sitelib}/pyserial-%{version}-py*.egg-info
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
%files -n %{name}-doc
|
%files -n %{name}-doc
|
||||||
|
%endif
|
||||||
%doc examples/
|
%doc examples/
|
||||||
%doc documentation/_build/*
|
%doc documentation/_build/*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user