From d1b4afb863834f9f95c17a0fe8881ca1099ce003 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Wed, 8 Feb 2023 10:13:33 +0800 Subject: [PATCH] remove versioned MODULE_COMPAT_ requires --- perl-Algorithm-Diff.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/perl-Algorithm-Diff.spec b/perl-Algorithm-Diff.spec index f74b8d0..7721ec4 100644 --- a/perl-Algorithm-Diff.spec +++ b/perl-Algorithm-Diff.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 Name: perl-Algorithm-Diff Version: 1.201 Epoch: 1 @@ -28,7 +28,6 @@ BuildRequires: perl(Data::Dumper) BuildRequires: perl(lib) BuildRequires: perl(Test) # Explicit requirements: -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Carp) %description @@ -37,6 +36,14 @@ or any other two lists of things. It uses an intelligent algorithm similar to (or identical to) the one used by the Unix "diff" program. It is guaranteed to find the *smallest possible* set of differences. +%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 Algorithm-Diff-%{version} @@ -56,12 +63,18 @@ find %{buildroot} -type f -name .packlist -delete make test %files -%doc Changes README bin/*.pl +%doc bin/*.pl %{perl_vendorlib}/Algorithm/ %{_mandir}/man3/Algorithm::Diff.3* %{_mandir}/man3/Algorithm::DiffOld.3* +%files doc +%doc Changes README + %changelog +* Wed Feb 08 2023 mgb01105731 - 1:1.201-3 +- remove versioned MODULE_COMPAT_ requires + * Mon Jan 30 2023 Chunmei Xu - 1:1.201-2 - rebuild with perl 5.36.0 -- Gitee