From edbbdb442b2ccf336bfbb3100cf8fda41dcecdc5 Mon Sep 17 00:00:00 2001 From: Packit Date: Sep 30 2020 10:34:16 +0000 Subject: Apply patch List-MoreUtils-XS-0.428-unbundle.patch patch_name: List-MoreUtils-XS-0.428-unbundle.patch present_in_specfile: true no_prefix: true --- diff --git a/Makefile.PL b/Makefile.PL index 566f078..fef1889 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -13,18 +13,8 @@ BEGIN } } -use inc::latest 'Capture::Tiny'; -use inc::latest 'Config::AutoConf'; - -if (inc::latest->can("write")) -{ - inc::latest->write("inc"); - for my $mod (inc::latest->loaded_modules) - { - inc::latest->bundle_module($mod, "inc"); - } -} - +use Capture::Tiny; +use Config::AutoConf; use ExtUtils::MakeMaker; use inc::Config::AutoConf::LMU (); @@ -48,7 +38,6 @@ my %RUN_DEPS = ( 'XSLoader' => "0.22", ); my %BUNDLE_CONFIGURE_DEPS = ( - 'inc::latest' => '0.500', 'Config::AutoConf' => '0.315', ); my %CONFIGURE_DEPS = ( diff --git a/t/lib/Test/LMU.pm b/t/lib/Test/LMU.pm index 36428d3..6e85fad 100644 --- a/t/lib/Test/LMU.pm +++ b/t/lib/Test/LMU.pm @@ -16,7 +16,6 @@ my $CLASS = __PACKAGE__; eval "use Storable qw();"; $@ or Storable->import(qw(freeze)); __PACKAGE__->can("freeze") or eval <<'EOFR'; -use inc::latest 'JSON::PP'; use JSON::PP qw(); sub freeze { my $json = JSON::PP->new();