14
0

Accepting request 1202917 from home:ecsos:python

- Fix build error under Leap.

OBS-URL: https://build.opensuse.org/request/show/1202917
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyserial?expand=0&rev=39
This commit is contained in:
2024-09-24 12:58:28 +00:00
committed by Git OBS Bridge
parent 77b169025b
commit 36557fefe5
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 24 11:27:17 UTC 2024 - ecsos <ecsos@opensuse.org>
- Fix build error under Leap.
-------------------------------------------------------------------
Mon Jul 29 15:07:43 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -26,13 +26,13 @@ Group: Development/Languages/Python
URL: https://github.com/pyserial/pyserial
Source: https://files.pythonhosted.org/packages/source/p/pyserial/pyserial-%{version}.tar.gz
# PATCH-FIX-UPSTREAM - pyserial/pyserial#757 - Replace deprecated unittest.findTestCases function
Patch: https://github.com/pyserial/pyserial/pull/757.patch#/replace-deprecated-unittest-function.patch
Patch1: https://github.com/pyserial/pyserial/pull/757.patch#/replace-deprecated-unittest-function.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
Requires(post): update-alternatives
Requires(preun): update-alternatives
Requires(preun):update-alternatives
Provides: python-serial = %{version}
Obsoletes: python-serial < %{version}
BuildArch: noarch
@@ -54,7 +54,7 @@ Documentation, examples, and help files for %{name}.
%prep
%setup -q -n pyserial-%{version}
%patch -P0 -p1
%patch -P 1 -p1
# Unnecessary
rm serial/tools/list_ports_windows.py \