forked from pool/python-pyserial
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:
@@ -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>
|
||||
|
||||
|
@@ -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 \
|
||||
|
Reference in New Issue
Block a user