From d115911d4bdfcf15af976b7c7af04fd5d93c9919 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Wed, 8 Feb 2023 11:19:14 +0800 Subject: [PATCH] remove versioned MODULE_COMPAT_ requires --- perl-Net-SSLeay.spec | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/perl-Net-SSLeay.spec b/perl-Net-SSLeay.spec index fdbbf12..5b29750 100644 --- a/perl-Net-SSLeay.spec +++ b/perl-Net-SSLeay.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 Name: perl-Net-SSLeay Version: 1.92 @@ -57,7 +57,6 @@ BuildRequires: perl(Test::More) >= 0.61 BuildRequires: perl(threads) BuildRequires: perl(warnings) # =========== Module Runtime ========================= -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(MIME::Base64) Requires: perl(XSLoader) @@ -71,6 +70,14 @@ accessing http servers, too), a sslcat() function for writing your own clients, and finally access to the SSL API of SSLeay/OpenSSL package so you can write servers or clients for more complicated applications. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{EVR} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %setup -q -n Net-SSLeay-%{version} @@ -104,7 +111,6 @@ make test %files %license LICENSE -%doc Changes CONTRIBUTING.md Credits QuickRef README examples/ %{perl_vendorarch}/auto/Net/ %dir %{perl_vendorarch}/Net/ %{perl_vendorarch}/Net/SSLeay/ @@ -113,7 +119,13 @@ make test %{_mandir}/man3/Net::SSLeay.3* %{_mandir}/man3/Net::SSLeay::Handle.3* +%files doc +%doc Changes CONTRIBUTING.md Credits QuickRef README examples/ + %changelog +* Wed Feb 08 2023 mgb01105731 - 1.92-3 +- remove versioned MODULE_COMPAT_ requires + * Mon Jan 30 2023 Chunmei Xu - 1.92-2 - rebuild with perl 5.36.0 -- Gitee