From 87b10e8ea5fbb14362615396a23b0b337a10b760 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Nov 28 2022 08:45:39 +0000 Subject: Update to 0.5.5 - Also migrate license tag to SPDX --- diff --git a/.gitignore b/.gitignore index f0e360a..3a9878a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ hunspell-0.1.tar.gz /pyhunspell-0.4.1.tar.gz /pyhunspell-0.5.0.tar.gz /pyhunspell-0.5.4.tar.gz +/pyhunspell-0.5.5.tar.gz diff --git a/pyhunspell-0.5.0-hunspell15.patch b/pyhunspell-0.5.0-hunspell15.patch deleted file mode 100644 index 71f345d..0000000 --- a/pyhunspell-0.5.0-hunspell15.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -ru pyhunspell-0.5.0.orig/setup.py pyhunspell-0.5.0/setup.py ---- pyhunspell-0.5.0.orig/setup.py 2018-03-06 09:44:51.992177310 +0100 -+++ pyhunspell-0.5.0/setup.py 2018-03-06 09:52:40.841755041 +0100 -@@ -36,7 +36,7 @@ - main_module_kwargs['extra_compile_args'] = ['-Wall'] - else: - main_module_kwargs['define_macros'] = [('_LINUX', None)] -- main_module_kwargs['libraries'] = ['hunspell'] -+ main_module_kwargs['libraries'] = ['hunspell-1.7'] - main_module_kwargs['include_dirs'] = '/usr/include/hunspell', - main_module_kwargs['extra_compile_args'] = ['-Wall'] - -pyhunspell-0.5.0 のみに存在: setup.py.~1~ diff --git a/pyhunspell-fix-build.patch b/pyhunspell-fix-build.patch new file mode 100644 index 0000000..855754d --- /dev/null +++ b/pyhunspell-fix-build.patch @@ -0,0 +1,12 @@ +diff -ru pyhunspell-0.5.5.orig/setup.py pyhunspell-0.5.5/setup.py +--- pyhunspell-0.5.5.orig/setup.py 2018-08-06 22:57:28.000000000 +0200 ++++ pyhunspell-0.5.5/setup.py 2022-11-28 09:44:26.244218217 +0100 +@@ -40,7 +40,7 @@ + main_module_kwargs['extra_compile_args'] = ['-Wall'] + else: + main_module_kwargs['define_macros'] = [('_LINUX', None)] +- main_module_kwargs['libraries'] = ['hunspell'] ++ main_module_kwargs['libraries'] = ['hunspell-1.7'] + main_module_kwargs['include_dirs'] = get_linux_include_dirs() + ['/usr/include/hunspell'] + main_module_kwargs['extra_compile_args'] = ['-Wall'] + diff --git a/pyhunspell.spec b/pyhunspell.spec index 2729c55..9a217da 100644 --- a/pyhunspell.spec +++ b/pyhunspell.spec @@ -1,9 +1,9 @@ Name: pyhunspell -Version: 0.5.4 -Release: 18%{?dist} +Version: 0.5.5 +Release: 1%{?dist} Summary: Python bindings for hunspell -License: LGPLv3+ +License: LGPL-3.0-or-later URL: https://github.com/blatinier/pyhunspell Source0: https://github.com/blatinier/pyhunspell/archive/pyhunspell-%{version}.tar.gz @@ -13,8 +13,8 @@ BuildRequires: hunspell-devel BuildRequires: python3-devel BuildRequires: python3-setuptools -# make it build with hunspell-1.5: -Patch0: pyhunspell-0.5.0-hunspell15.patch +# make it build with hunspell-1.7: +Patch0: pyhunspell-fix-build.patch %global _description\ These are python bindings for hunspell, that allow to use the hunspell library\ @@ -45,6 +45,10 @@ from Python3. %{python3_sitearch}/* %changelog +* Mon Nov 28 2022 Mike FABIAN - 0.5.5-1 +- Update to 0.5.5 +- Migrate license tag to SPDX + * Fri Jul 22 2022 Fedora Release Engineering - 0.5.4-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 35d74cd..6f00d86 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyhunspell-0.5.4.tar.gz) = 02c33fd65696eefa4bfcd4d6a5a28e38fa685bbc21d66e0d198e3b56c375b813e8b8e8220296083d8fe707cd3f7bd62d2265ea7083ff5b4c46c6e5566cc17a6c +SHA512 (pyhunspell-0.5.5.tar.gz) = 2b1109a8b3d3140b0efe4dd5f4e00a7bb92ffc0b3a93413e467c20a9d8f2b181c715a20ab27c828ed765260d849945f73793f8577eb65ad78b3b6a2425594fa4