File project.diff of Package python-nltk
--- python-nltk.spec.orig
+++ python-nltk.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-nltk
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -65,6 +65,11 @@ Source0: nltk-%{version}.tar.xz
############################
# Source1: nltk_data.tar.xz
Source99: python-nltk.rpmlintrc
+# The gh tag is missing this fix. See gh
+# https://github.com/nltk/nltk/issues/3308
+# https://github.com/nltk/nltk/pull/3309
+# https://github.com/nltk/nltk/commit/7d1cbc71441f607daea0894333912268e2911cab
+Patch0: 0001-Fix-bug-in-WordNetLemmatizer.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}