diff --git a/perl-Algorithm-Diff.spec b/perl-Algorithm-Diff.spec index f74b8d04820c0a6ea1913e4107741a58daf4b534..7721ec44b776625715c5d1eb5c57aa04ed8f9139 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