Accepting request 1066619 from devel:languages:python

- build with cythonize to have working code for python 3.11

OBS-URL: https://build.opensuse.org/request/show/1066619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cchardet?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2023-02-19 17:19:56 +00:00 committed by Git OBS Bridge
commit 2d171d0799
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Feb 19 12:37:25 UTC 2023 - Dirk Müller <dmueller@suse.com>
- build with cythonize to have working code for python 3.11
-------------------------------------------------------------------
Fri Feb 26 06:57:19 UTC 2021 - ecsos <ecsos@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-cchardet
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,9 +22,10 @@ Name: python-cchardet
Version: 2.1.7
Release: 0
Summary: CChardet is high speed universal character encoding detector
License: MPL-1.1 OR LGPL-2.1-or-later OR GPL-2.0-or-later
License: GPL-2.0-or-later OR LGPL-2.1-or-later OR MPL-1.1
URL: https://github.com/PyYoshi/cChardet
Source: https://files.pythonhosted.org/packages/source/c/cchardet/cchardet-%{version}.tar.gz
BuildRequires: %{python_module cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@ -33,7 +34,7 @@ BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(uchardet)
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
%python_subpackages
%description