15
0

- Add patch support-python-310.patch:

* Support Python 3.10.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dirtyjson?expand=0&rev=5
This commit is contained in:
2022-01-24 00:48:48 +00:00
committed by Git OBS Bridge
parent 1a33573c1d
commit 6bca6b90b5
3 changed files with 35 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-dirtyjson
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,8 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/codecobblers/dirtyjson
Source: https://files.pythonhosted.org/packages/source/d/dirtyjson/dirtyjson-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#codecobblers/dirtyjson#6
Patch0: support-python-310.patch
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -36,7 +38,7 @@ BuildArch: noarch
JSON decoder for Python that can extract data from dirty input.
%prep
%setup -q -n dirtyjson-%{version}
%autosetup -p1 -n dirtyjson-%{version}
%build
%python_build