8
0
forked from pool/perl-App-Cmd

Accepting request 879147 from devel:languages:perl:autoupdate

- updated to 0.333
   see /usr/share/doc/packages/perl-App-Cmd/Changes
  0.333     2021-03-14 15:45:02-04:00 America/New_York
          - dial back required perl to v5.20.0
  0.332     2021-03-12 21:25:38-05:00 America/New_York
          - bump up minimum required perl to the one from 5yr ago
          - make some tests laxer to prep for changes in Getopt::Long::Descriptive
          - the App::Cmd object is constructed and blessed in new before _command
            is called on it (thanks, Lucas Theisen)

OBS-URL: https://build.opensuse.org/request/show/879147
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Cmd?expand=0&rev=39
This commit is contained in:
2021-03-16 15:01:46 +00:00
committed by Git OBS Bridge
parent c3026c9f62
commit 02bb47cfa4
4 changed files with 36 additions and 21 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a5d3df0006bd278880d01f4957aaa652a8f91fe8f66e93adf70fba0c3ecb680
size 48848

3
App-Cmd-0.333.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Mar 15 03:07:00 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 0.333
see /usr/share/doc/packages/perl-App-Cmd/Changes
0.333 2021-03-14 15:45:02-04:00 America/New_York
- dial back required perl to v5.20.0
0.332 2021-03-12 21:25:38-05:00 America/New_York
- bump up minimum required perl to the one from 5yr ago
- make some tests laxer to prep for changes in Getopt::Long::Descriptive
- the App::Cmd object is constructed and blessed in new before _command
is called on it (thanks, Lucas Theisen)
-------------------------------------------------------------------
Mon Jul 18 05:01:20 UTC 2016 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-App-Cmd
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,22 +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-Cmd
Version: 0.331
Release: 0
%define cpan_name App-Cmd
Summary: Write Command Line Apps with Less Suffering
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/App-Cmd/
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
Name: perl-App-Cmd
Version: 0.333
Release: 0
Summary: Write command line apps with less suffering
License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Capture::Tiny) >= 0.13
@@ -45,6 +43,7 @@ BuildRequires: perl(Sub::Exporter::Util)
BuildRequires: perl(Sub::Install)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(experimental)
BuildRequires: perl(parent)
Requires: perl(Capture::Tiny) >= 0.13
Requires: perl(Class::Load) >= 0.06
@@ -58,6 +57,7 @@ Requires: perl(String::RewritePrefix)
Requires: perl(Sub::Exporter)
Requires: perl(Sub::Exporter::Util)
Requires: perl(Sub::Install)
Requires: perl(experimental)
Requires: perl(parent)
%{perl_requires}
@@ -69,15 +69,15 @@ usually involved.
For information on how to start using App::Cmd, see App::Cmd::Tutorial.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -85,7 +85,7 @@ find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE README
%doc Changes README
%license LICENSE
%changelog