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

From: @wang--ge 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-10-11 08:07:27 +00:00 committed by Gitee
commit df57d208c4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
Name: hunspell
Summary: A spell checker and morphological analyzer library
Version: 1.7.0
Release: 6
Release: 7
URL: https://github.com/hunspell/hunspell
Source: https://github.com/hunspell/hunspell/archive/%{name}-%{version}.tar.gz
@ -9,7 +9,7 @@ Patch1: backport-CVE-2019-16707.patch
License: LGPLv2+ or GPLv2+ or MPLv1.1
BuildRequires: gcc-c++ autoconf automake libtool ncurses-devel gettext
BuildRequires: perl-generators words hunspell hunspell-devel gdb
BuildRequires: perl-generators words
%ifarch %{ix86} x86_64
BuildRequires: valgrind
%endif
@ -58,8 +58,6 @@ make check
mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell
%find_lang %{name}
#Include previous ABI version for temporary binary compatibility
cp -a %{_libdir}/libhunspell-1.6.so* %{buildroot}%{_libdir}
%ldconfig_scriptlets
@ -86,6 +84,9 @@ cp -a %{_libdir}/libhunspell-1.6.so* %{buildroot}%{_libdir}
%lang(hu) %{_mandir}/hu/man1/hunspell.1.gz
%changelog
* Mon Sep 05 2022 Ge Wang <wangge20@h-partners.com> - 1.7.0-7
- Remove self dependency which is temporary used to resolve compatiable
* Wed Jan 13 2021 jinzhimin <jinzhimin2@huawei.com> - 1.7.0-6
- fix CVE-2019-16707