#1 Update hunspell directory path
Merged 2 years ago by pghmcfc. Opened 2 years ago by pnemade.
Unknown source rawhide  into  rawhide

@@ -1,20 +0,0 @@

- --- lib/Text/SpellChecker.pm

- +++ lib/Text/SpellChecker.pm

- @@ -152,7 +152,7 @@ Set this to control the highlighting of

-  

-  =item $Text::SpellCheckerDictionaryPath{Hunspell}

-  

- -Set this to the hunspell dictionary path.  By default /usr/share/hunspell.

- +Set this to the hunspell dictionary path.  By default /usr/share/myspell.

-  

-  This directory should have $lang.dic and $lang.aff files.

-   

- @@ -199,7 +199,7 @@ BEGIN {

-      };

-  }

-  our %DictionaryPath = (

- -    Hunspell => q[/usr/share/hunspell]

- +    Hunspell => q[/usr/share/myspell]

-  );

-  

-  #

file modified
+6 -5
@@ -1,11 +1,10 @@

  Summary:	OO interface for spell-checking a block of text 

  Name:		perl-Text-SpellChecker

  Version:	0.14

- Release:	23%{?dist}

+ Release:	24%{?dist}

  License:	GPL+ or Artistic

  URL:		https://metacpan.org/release/Text-SpellChecker

  Source0:	https://cpan.metacpan.org/modules/by-module/Text/Text-SpellChecker-%{version}.tar.gz

- Patch0:		Text-SpellChecker-0.14-dictpath.patch

  BuildArch:	noarch

  # Module Build

  BuildRequires:	coreutils
@@ -48,9 +47,6 @@

  %prep

  %setup -q -n Text-SpellChecker-%{version}

  

- # Fedora hunspell dictionaries are in /usr/share/myspell rather than /usr/share/hunspell

- %patch0

- 

  %build

  perl Makefile.PL INSTALLDIRS=vendor

  make %{?_smp_mflags}
@@ -69,6 +65,11 @@

  %{_mandir}/man3/Text::SpellChecker.3*

  

  %changelog

+ * Tue Jan 25 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.14-24

+ - Update hunspell directory path

+   F36 Change https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change

+   Hunspell dictionaries are now in /usr/share/hunspell/, hence drop patch0

+ 

  * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-23

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

  

This is a request to merge this PR which is part of F36 Change https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change and build this change in F36+

Hunspell dictionaries are now in /usr/share/hunspell/, hence drop patch0

Signed-off-by: Parag Nemade pnemade@fedoraproject.org

Pull-Request has been merged by pghmcfc

2 years ago