From 5525b29a9b4c1942a500cbfb7595dabc806e7f96b06a627c7d4f6148c8d2384e Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Wed, 28 Oct 2020 15:33:21 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-cpanminus?expand=0&rev=50 --- App-cpanminus-1.7043.tar.gz | 3 --- App-cpanminus-1.7044.tar.gz | 3 +++ cpanspec.yml | 3 ++- perl-App-cpanminus.changes | 6 ++++++ perl-App-cpanminus.spec | 23 ++++++++++++----------- 5 files changed, 23 insertions(+), 15 deletions(-) delete mode 100644 App-cpanminus-1.7043.tar.gz create mode 100644 App-cpanminus-1.7044.tar.gz diff --git a/App-cpanminus-1.7043.tar.gz b/App-cpanminus-1.7043.tar.gz deleted file mode 100644 index 1dd0b66..0000000 --- a/App-cpanminus-1.7043.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 -size 317984 diff --git a/App-cpanminus-1.7044.tar.gz b/App-cpanminus-1.7044.tar.gz new file mode 100644 index 0000000..f9bf7a2 --- /dev/null +++ b/App-cpanminus-1.7044.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3 +size 316368 diff --git a/cpanspec.yml b/cpanspec.yml index 2973cb0..4591455 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -5,7 +5,7 @@ # foo.patch: -p1 # bar.patch: sources: - - http://pkgs.fedoraproject.org/cgit/perl-App-cpanminus.git/plain/fatunpack + - fatunpack preamble: |- # Run-time: # Nothing special. The tests are very poor. But we run perl -c at built-time @@ -46,6 +46,7 @@ preamble: |- # YAML not needed for compilation # Tests: BuildRequires: perl(Test::More) + BuildRequires: perl(Pod::Select) # Current dependency generator cannot parse compressed code. Use PPI to find # them, and list them manually: # Archive::Tar is optional diff --git a/perl-App-cpanminus.changes b/perl-App-cpanminus.changes index 4ce6a54..3e0d9e4 100644 --- a/perl-App-cpanminus.changes +++ b/perl-App-cpanminus.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 28 15:32:37 UTC 2020 - Dirk Stoecker + +- updated to 1.7044 + see /usr/share/doc/packages/perl-App-cpanminus/Changes + ------------------------------------------------------------------- Tue Jun 6 13:59:45 UTC 2017 - sriedel@suse.com diff --git a/perl-App-cpanminus.spec b/perl-App-cpanminus.spec index ae8c874..49f0355 100644 --- a/perl-App-cpanminus.spec +++ b/perl-App-cpanminus.spec @@ -1,7 +1,7 @@ # # spec file for package perl-App-cpanminus # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,20 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-App-cpanminus -Version: 1.7043 +Version: 1.7044 Release: 0 %define cpan_name App-cpanminus -Summary: Get, Unpack, Build and Install Modules From Cpan -License: Artistic-1.0 or GPL-1.0+ +Summary: Get, unpack, build and install modules from CPAN +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/App-cpanminus/ +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz -Source1: http://pkgs.fedoraproject.org/cgit/perl-App-cpanminus.git/plain/fatunpack +Source1: fatunpack Source2: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -71,6 +71,7 @@ BuildRequires: perl(version) BuildRequires: perl(warnings::register) # YAML not needed for compilation # Tests: +BuildRequires: perl(Pod::Select) BuildRequires: perl(Test::More) # Current dependency generator cannot parse compressed code. Use PPI to find # them, and list them manually: @@ -116,7 +117,7 @@ and stands alone. When running, it requires only 10MB of RAM. %prep %setup -q -n %{cpan_name}-%{version} -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 # MANUAL BEGIN # Unbundle fat-packed modules podselect lib/App/cpanminus.pm > lib/App/cpanminus.pod @@ -129,11 +130,11 @@ done # MANUAL END %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install