14
0

Accepting request 1202966 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1202966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyserial?expand=0&rev=22
This commit is contained in:
2024-09-25 19:52:53 +00:00
committed by Git OBS Bridge
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> Mon Jul 29 15:07:43 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -26,7 +26,7 @@ Group: Development/Languages/Python
URL: https://github.com/pyserial/pyserial URL: https://github.com/pyserial/pyserial
Source: https://files.pythonhosted.org/packages/source/p/pyserial/pyserial-%{version}.tar.gz 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-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: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@@ -54,7 +54,7 @@ Documentation, examples, and help files for %{name}.
%prep %prep
%setup -q -n pyserial-%{version} %setup -q -n pyserial-%{version}
%patch -P0 -p1 %patch -P 1 -p1
# Unnecessary # Unnecessary
rm serial/tools/list_ports_windows.py \ rm serial/tools/list_ports_windows.py \