From c56d05be3a482cb65951b62442b47b02fa58f584 Mon Sep 17 00:00:00 2001 From: openeuler-basic Date: Sat, 11 Jan 2020 17:38:45 +0800 Subject: [PATCH] remove unnecessary files --- List-MoreUtils-XS-0.428-unbundle.patch | 41 -------------------------- perl-List-MoreUtils-XS.spec | 10 +++++-- 2 files changed, 7 insertions(+), 44 deletions(-) delete mode 100644 List-MoreUtils-XS-0.428-unbundle.patch diff --git a/List-MoreUtils-XS-0.428-unbundle.patch b/List-MoreUtils-XS-0.428-unbundle.patch deleted file mode 100644 index 46be647..0000000 --- a/List-MoreUtils-XS-0.428-unbundle.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- Makefile.PL -+++ 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 = ( ---- t/lib/Test/LMU.pm -+++ 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(); diff --git a/perl-List-MoreUtils-XS.spec b/perl-List-MoreUtils-XS.spec index cf59ea6..c61f3a8 100644 --- a/perl-List-MoreUtils-XS.spec +++ b/perl-List-MoreUtils-XS.spec @@ -1,13 +1,11 @@ Name : perl-List-MoreUtils-XS Version: 0.428 -Release: 6 +Release: 7 Summary: Provide compiled List::MoreUtils functions License: (GPL+ or Artistic) and ASL 2.0 URL: https://metacpan.org/release/List-MoreUtils-XS Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-XS-%{version}.tar.gz -Patch0: List-MoreUtils-XS-0.428-unbundle.patch - BuildRequires: perl-generators perl-interpreter perl(Capture::Tiny) perl(Config::AutoConf) >= 0.315 BuildRequires: coreutils findutils perl(Test::More) >= 0.96 perl(ExtUtils::CBuilder) Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2)) @@ -53,6 +51,12 @@ make test %{_mandir}/*/* %changelog +* Sat Jan 11 2020 openEuler Buildteam - 0.428-7 +- Type: enhancement +- ID: NA +- SUG: NA +- DESC: remove unnecessary files + * Sat Sep 21 2019 openEuler Buildteam - 0.428-6 - Type:enhancement - ID:NA