Dirk Stoecker 2020-10-28 15:33:21 +00:00 committed by Git OBS Bridge
parent 710fd41615
commit 5525b29a9b
5 changed files with 23 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65
size 317984

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3
size 316368

View File

@ -5,7 +5,7 @@
# foo.patch: -p1 # foo.patch: -p1
# bar.patch: # bar.patch:
sources: sources:
- http://pkgs.fedoraproject.org/cgit/perl-App-cpanminus.git/plain/fatunpack - fatunpack
preamble: |- preamble: |-
# Run-time: # Run-time:
# Nothing special. The tests are very poor. But we run perl -c at built-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 # YAML not needed for compilation
# Tests: # Tests:
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(Pod::Select)
# Current dependency generator cannot parse compressed code. Use PPI to find # Current dependency generator cannot parse compressed code. Use PPI to find
# them, and list them manually: # them, and list them manually:
# Archive::Tar is optional # Archive::Tar is optional

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 28 15:32:37 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
- updated to 1.7044
see /usr/share/doc/packages/perl-App-cpanminus/Changes
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 6 13:59:45 UTC 2017 - sriedel@suse.com Tue Jun 6 13:59:45 UTC 2017 - sriedel@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-App-cpanminus # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 Name: perl-App-cpanminus
Version: 1.7043 Version: 1.7044
Release: 0 Release: 0
%define cpan_name App-cpanminus %define cpan_name App-cpanminus
Summary: Get, Unpack, Build and Install Modules From Cpan Summary: Get, unpack, build and install modules from CPAN
License: Artistic-1.0 or GPL-1.0+ License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl 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 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 Source2: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -71,6 +71,7 @@ BuildRequires: perl(version)
BuildRequires: perl(warnings::register) BuildRequires: perl(warnings::register)
# YAML not needed for compilation # YAML not needed for compilation
# Tests: # Tests:
BuildRequires: perl(Pod::Select)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
# Current dependency generator cannot parse compressed code. Use PPI to find # Current dependency generator cannot parse compressed code. Use PPI to find
# them, and list them manually: # them, and list them manually:
@ -116,7 +117,7 @@ and stands alone. When running, it requires only 10MB of RAM.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %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 # MANUAL BEGIN
# Unbundle fat-packed modules # Unbundle fat-packed modules
podselect lib/App/cpanminus.pm > lib/App/cpanminus.pod podselect lib/App/cpanminus.pm > lib/App/cpanminus.pod
@ -129,11 +130,11 @@ done
# MANUAL END # MANUAL END
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} make %{?_smp_mflags}
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install