14
0

Accepting request 1180275 from home:glaubitz:branches:devel:languages:python

- Cherry-pick upstream patch to fix build with GCC 14
  * https://github.com/scrapinghub/python-crfsuite/pull/159.patch

OBS-URL: https://build.opensuse.org/request/show/1180275
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-crfsuite?expand=0&rev=11
This commit is contained in:
2024-06-13 07:31:11 +00:00
committed by Git OBS Bridge
parent aac3b09333
commit facedc2617
3 changed files with 37 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-crfsuite
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 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/scrapinghub/python-crfsuite
Source: https://files.pythonhosted.org/packages/source/p/python-crfsuite/python-crfsuite-%{version}.tar.gz
# PATCH-FIX-UPSTREAM - Define _POSIX_C_SOURCE for crfsuite source files
Patch: https://github.com/scrapinghub/python-crfsuite/pull/159.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}