14
0
forked from pool/python-pyu2f

- Use upstream patches instead of custom one for python312

compatibility.
  - drop python312.patch
  - add python312-1.patch gh#google/pyu2f@793acd9ff661
  - add python312-2.patch gh#google/pyu2f@dad654010a03

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyu2f?expand=0&rev=14
This commit is contained in:
2023-10-17 07:33:10 +00:00
committed by Git OBS Bridge
parent 0ec152822a
commit fd8ac32438
6 changed files with 820 additions and 163 deletions

View File

@@ -29,17 +29,17 @@ Source: https://github.com/google/pyu2f/archive/refs/tags/%{version}.tar
Patch: fix-deprecation-warning.patch
# https://github.com/google/pyu2f/issues/34
Patch1: python-pyu2f-no-six.patch
# PATCH-FIX-OPENSUSE python312.patch
Patch2: python312.patch
# PATCH-FIX-UPSTREAM python312-1.patch gh#google/pyu2f@793acd9ff661
Patch2: python312-1.patch
# PATCH-FIX-UPSTREAM python312-2.patch gh#google/pyu2f@dad654010a03
Patch3: python312-2.patch
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module six}
BuildRequires: %{python_module pyfakefs >= 2.4}
BuildRequires: %{python_module pytest}
# /SECTION
BuildRequires: fdupes
Requires: python-six
BuildArch: noarch
%python_subpackages