diff --git a/libgcrypt.spec b/libgcrypt.spec index 7c5de9f1d4d7e27b71bfce6b90ba9deb17f2e4e5..2bdeeef6bbbe44519ba61a12c95cd9390d453272 100644 --- a/libgcrypt.spec +++ b/libgcrypt.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: libgcrypt Version: 1.8.5 -Release: 7%{?dist} +Release: 7%{anolis_release}%{?dist} URL: http://www.gnupg.org/ Source0: libgcrypt-%{version}-hobbled.tar.xz # The original libgcrypt sources now contain potentially patented ECC @@ -101,6 +103,14 @@ Libgcrypt is a general purpose crypto library based on the code used in GNU Privacy Guard. This package contains files needed to develop applications using libgcrypt. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q %{SOURCE3} @@ -228,7 +238,6 @@ exit 0 %{gcrylibdir}/.libgcrypt.so.*.hmac %{!?_licensedir:%global license %%doc} %license COPYING.LIB -%doc AUTHORS NEWS THANKS %files devel %{_bindir}/%{name}-config @@ -244,7 +253,13 @@ exit 0 %{!?_licensedir:%global license %%doc} %license COPYING +%files doc +%doc AUTHORS NEWS THANKS + %changelog +* Tue Jul 19 2022 DengXiewei - 1.8.5-7.0.1 +- Add doc sub package + * Tue Apr 05 2022 Jakub Jelen - 1.8.5-7 - Fix CVE-2021-33560 (#2018525)