From 429f03e66a65de70fb31bb90e894b2b731a8879e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Dec 13 2016 15:04:09 +0000 Subject: update patch Signed-off-by: Igor Gnatenko --- diff --git a/pyhunspell-0.4.0-hunspell14.patch b/pyhunspell-0.4.0-hunspell14.patch deleted file mode 100644 index a31b44a..0000000 --- a/pyhunspell-0.4.0-hunspell14.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru pyhunspell-0.4.0.orig/setup.py pyhunspell-0.4.0/setup.py ---- pyhunspell-0.4.0.orig/setup.py 2016-03-18 22:19:08.000000000 +0100 -+++ pyhunspell-0.4.0/setup.py 2016-03-21 13:31:28.308888668 +0100 -@@ -30,7 +30,7 @@ - main_module_kwargs['compile_args'] = ['/MT'] - else: - main_module_kwargs['macros'] = [('_LINUX', None)] -- main_module_kwargs['libraries'] = ['hunspell'] -+ main_module_kwargs['libraries'] = ['hunspell-1.4'] - main_module_kwargs['include_dirs'] = '/usr/include/hunspell', - main_module_kwargs['compile_args'] = ['-Wall'] - diff --git a/pyhunspell-0.4.0-hunspell15.patch b/pyhunspell-0.4.0-hunspell15.patch new file mode 100644 index 0000000..c394813 --- /dev/null +++ b/pyhunspell-0.4.0-hunspell15.patch @@ -0,0 +1,12 @@ +diff -ru pyhunspell-0.4.0.orig/setup.py pyhunspell-0.4.0/setup.py +--- pyhunspell-0.4.0.orig/setup.py 2016-03-18 22:19:08.000000000 +0100 ++++ pyhunspell-0.4.0/setup.py 2016-03-21 13:31:28.308888668 +0100 +@@ -30,7 +30,7 @@ + main_module_kwargs['compile_args'] = ['/MT'] + else: + main_module_kwargs['macros'] = [('_LINUX', None)] +- main_module_kwargs['libraries'] = ['hunspell'] ++ main_module_kwargs['libraries'] = ['hunspell-1.5'] + main_module_kwargs['include_dirs'] = '/usr/include/hunspell', + main_module_kwargs['compile_args'] = ['-Wall'] + diff --git a/pyhunspell.spec b/pyhunspell.spec index ad399fc..7c92d34 100644 --- a/pyhunspell.spec +++ b/pyhunspell.spec @@ -19,8 +19,8 @@ BuildRequires: python2-devel hunspell-devel BuildRequires: python3-devel %endif # if with_python3 -# make it build with hunspell-1.4: -Patch0: pyhunspell-0.4.0-hunspell14.patch +# make it build with hunspell-1.5: +Patch0: pyhunspell-0.4.0-hunspell15.patch %description These are python bindings for hunspell, that allow to use the hunspell library