diff --git a/hunspell.spec b/hunspell.spec index efd6acb1b861926f283a832d92cf4ff16be6732e..9505182338a623f81af22a905f5dadfc583f020f 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -1,14 +1,14 @@ Name: hunspell Summary: A spell checker and morphological analyzer library Version: 1.7.2 -Release: 1 +Release: 2 URL: https://github.com/hunspell/hunspell Source: https://github.com/hunspell/hunspell/releases/download/v%{version}/hunspell-%{version}.tar.gz # https://github.com/hunspell/hunspell/commit/82b92126325d91446abfe340b7d4fcd44c6f6bbe Patch1: Resolves-rhbz-2158548-allow-longer-words-for-hunspel.patch -License: LGPLv2+ or GPLv2+ or MPLv1.1 +License: LGPL-2.1-or-later OR GPL-2.0-or-later OR MPL-1.1 BuildRequires: gcc-c++ autoconf automake libtool ncurses-devel gettext-devel BuildRequires: perl-generators words %ifarch %{ix86} x86_64 @@ -57,6 +57,7 @@ make check %make_install %delete_la_and_a mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell +mkdir $RPM_BUILD_ROOT/%{_datadir}/hunspell %find_lang %{name} %ldconfig_scriptlets @@ -68,6 +69,7 @@ mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell %{_bindir}/hunspell %{_libdir}/*.so.* %{_datadir}/myspell +%{_datadir}/hunspell %files devel %defattr(-,root,root) @@ -84,6 +86,9 @@ mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell %lang(hu) %{_mandir}/hu/man1/hunspell.1.gz %changelog +* Fri Jun 20 2025 wangkai <13474090681@163.com> - 1.7.2-2 +- Add hunspell dir + * Wed Mar 20 2024 yaoxin - 1.7.2-1 - Upgrade to 1.7.2