Remove self dependency which is temporary used to resolve compatiable during upgrade.

This commit is contained in:
starlet-dx 2022-07-30 15:09:19 +08:00
parent 20fe3c140a
commit 757298e725

View File

@ -1,7 +1,7 @@
Name: hunspell Name: hunspell
Summary: A spell checker and morphological analyzer library Summary: A spell checker and morphological analyzer library
Version: 1.7.0 Version: 1.7.0
Release: 9 Release: 10
URL: https://github.com/hunspell/hunspell URL: https://github.com/hunspell/hunspell
Source: https://github.com/hunspell/hunspell/archive/v%{version}.tar.gz Source: https://github.com/hunspell/hunspell/archive/v%{version}.tar.gz
@ -10,7 +10,7 @@ Patch2: 0001-Add-format-literal-string-to-resolve-g-issue-for-for.patch
License: LGPLv2+ or GPLv2+ or MPLv1.1 License: LGPLv2+ or GPLv2+ or MPLv1.1
BuildRequires: gcc-c++ autoconf automake libtool ncurses-devel gettext-devel BuildRequires: gcc-c++ autoconf automake libtool ncurses-devel gettext-devel
BuildRequires: perl-generators words hunspell hunspell-devel BuildRequires: perl-generators words
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
BuildRequires: valgrind BuildRequires: valgrind
%endif %endif
@ -59,9 +59,6 @@ make check
mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell
%find_lang %{name} %find_lang %{name}
#Include previous ABI version for temporary binary compatibility
cp -a %{_libdir}/libhunspell-1.6.so* %{buildroot}%{_libdir}
%ldconfig_scriptlets %ldconfig_scriptlets
%files -f %{name}.lang %files -f %{name}.lang
@ -87,6 +84,9 @@ cp -a %{_libdir}/libhunspell-1.6.so* %{buildroot}%{_libdir}
%lang(hu) %{_mandir}/hu/man1/hunspell.1.gz %lang(hu) %{_mandir}/hu/man1/hunspell.1.gz
%changelog %changelog
* Sat Jul 30 2022 yaoxin <yaoxin30@h-partners.com> - 1.7.0-10
- Remove self dependency which is temporary used to resolve compatiable during upgrade.
* Mon Apr 25 2022 caodongxia<caodongxia@h-partners.com> -1.7.0-9 * Mon Apr 25 2022 caodongxia<caodongxia@h-partners.com> -1.7.0-9
- Add format literal string to resolve g++ issue for format-security. - Add format literal string to resolve g++ issue for format-security.