diff --git a/aspell.spec b/aspell.spec index d30640166eedf175eb0b2a5d2d8a1b3b65812469..54d9cb8526dc91b88b2ee867aced5d95752e74a7 100644 --- a/aspell.spec +++ b/aspell.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Summary: Spell checker Name: aspell Version: 0.60.6.1 -Release: 22%{?dist} +Release: 22%{anolis_release}%{?dist} Epoch: 12 # LGPLv2+ .. common/gettext.h # LGPLv2 .. modules/speller/default/phonet.hpp, @@ -33,9 +34,12 @@ Patch9: aspell-0.60.6.1-CVE-2019-25051.patch BuildRequires: gcc-c++ BuildRequires: chrpath, gettext, ncurses-devel, pkgconfig, perl-interpreter +Requires: glibc Requires(pre): /sbin/install-info Requires(preun): /sbin/install-info +Provides: /usr/bin/aspell + %description GNU Aspell is a spell checker designed to eventually replace Ispell. It can either be used as a library or as an independent spell checker. Its main @@ -58,6 +62,14 @@ Requires(preun): /sbin/install-info The aspell-devel package includes libraries and header files needed for Aspell development. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q %patch0 -p1 -b .iinfo @@ -135,7 +147,6 @@ fi %postun -p /sbin/ldconfig %files -f %{name}.lang -%doc README TODO COPYING examples/aspell-import examples/aspell-import.1 %dir %{_libdir}/aspell-0.60 %{_bindir}/a* %{_bindir}/ispell @@ -161,7 +172,13 @@ fi %{_infodir}/aspell-dev.* %{_mandir}/man1/pspell-config.1* +%files doc +%doc README TODO COPYING examples/aspell-import examples/aspell-import.1 + %changelog +* Fri Jul 15 2022 Bo Ren - 12:0.60.6.1-22.0.1 +- Add doc sub package + * Mon Oct 11 2021 Nikola Forró - 12:0.60.6.1-22 - resolves: #1988497 fix CVE-2019-25051