forked from pool/python-python-crfsuite
- Add patch rebuild-extension.patch:
* Included sources now regenerated with a new version of Cython to fix the build for Python 3.10. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-crfsuite?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 21 02:48:48 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add patch rebuild-extension.patch:
|
||||
* Included sources now regenerated with a new version of Cython to
|
||||
fix the build for Python 3.10.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 20 14:18:38 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-crfsuite
|
||||
#
|
||||
# Copyright (c) 2020 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/scrapinghub/python-crfsuite
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-crfsuite/python-crfsuite-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM gh#scrapinghub/python-crfsuite#c4c8b879fdf0cea493aedcc494321e35746417d1
|
||||
Patch0: rebuild-extension.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -37,7 +39,7 @@ BuildRequires: python-rpm-macros
|
||||
Python-crfsuite is a python binding to CRFsuite_.
|
||||
|
||||
%prep
|
||||
%setup -q -n python-crfsuite-%{version}
|
||||
%autosetup -p1 -n python-crfsuite-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
|
2139
rebuild-extension.patch
Normal file
2139
rebuild-extension.patch
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user