perl-DateTime-Set/DateTime-Set-0.32-version.patch
Petr Šabata 1e3eb45f10 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/perl-DateTime-Set#d7974aba54c96b90b53b2b8e96e67ab22354da79
2020-10-16 00:14:53 +02:00

19 lines
650 B
Diff

rpm version comparisons don't work the same way as perl versions,
so make the version requirement more strict so as to work OK for both
Upstream's META.yml says it wants 0.59 anyway
--- lib/Set/Infinite/_recurrence.pm
+++ lib/Set/Infinite/_recurrence.pm
@@ -12,7 +12,9 @@
use vars qw( @ISA $PRETTY_PRINT $max_iterate );
@ISA = qw( Set::Infinite );
-use Set::Infinite 0.5502;
+# Actually need Set::Infinite 0.5502 but use 0.59 for the benefit of rpm version comparisons
+# We have Set::Infinite 0.63 or later in all supported Fedora/EPEL releases anyway
+use Set::Infinite 0.59;
BEGIN {
$PRETTY_PRINT = 1; # enable Set::Infinite debug