!22 去除自依赖问题

From: @starlet-dx 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-07-30 08:02:06 +00:00 committed by Gitee
commit 6677540e2f
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: 9
Release: 10
URL: https://github.com/hunspell/hunspell
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
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
BuildRequires: valgrind
%endif
@ -59,9 +59,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
%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
%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
- Add format literal string to resolve g++ issue for format-security.