Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-MooseX-App for openSUSE:Factory checked in at 2021-08-23 10:07:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-MooseX-App (Old) and /work/SRC/openSUSE:Factory/.perl-MooseX-App.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MooseX-App" Mon Aug 23 10:07:57 2021 rev:3 rq:912689 version:1.42 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-MooseX-App/perl-MooseX-App.changes 2021-02-19 23:45:48.555395389 +0100 +++ /work/SRC/openSUSE:Factory/.perl-MooseX-App.new.1899/perl-MooseX-App.changes 2021-08-23 10:08:36.988215149 +0200 @@ -1,0 +2,11 @@ +Tue Aug 17 10:56:35 UTC 2021 - Frank Schreiner <fschrei...@suse.com> + +- updated to 1.42 + * Documentation + * Fix failing tests with new Moose versions + * removed 0001_fix_testing_for_Moose_2.2014.patch + * Sort option in bash completion plugin + * removed 0000_reproducible_bash_completion.patch + * Fixed term plugin warning + +------------------------------------------------------------------- Old: ---- 0000_reproducible_bash_completion.patch 0001_fix_testing_for_Moose_2.2014.patch MooseX-App-1.41.tar.gz New: ---- MooseX-App-1.42.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-MooseX-App.spec ++++++ --- /var/tmp/diff_new_pack.T63xAf/_old 2021-08-23 10:08:37.520214529 +0200 +++ /var/tmp/diff_new_pack.T63xAf/_new 2021-08-23 10:08:37.524214524 +0200 @@ -18,42 +18,32 @@ %define cpan_name MooseX-App Name: perl-MooseX-App -Version: 1.41 +Version: 1.42 Release: 0 -Summary: Write user-friendly command line apps with even less suffering License: Artistic-1.0 OR GPL-1.0-or-later +Summary: Write user-friendly command line apps with even less suffering URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/M/MA/MAROS/%{cpan_name}-%{version}.tar.gz +Source0: MooseX-App-1.42.tar.gz Source1: cpanspec.yml -# PATCH-FIX-UPSTREAM fixes https://bugzilla.opensuse.org/show_bug.cgi?id=1181616 and might get superseded by https://github.com/maros/MooseX-App/pull/64 -Patch0: 0000_reproducible_bash_completion.patch -# PATCH-FIX-UPSTREAM fixes https://github.com/maros/MooseX-App/issues/62 and might get superseded by https://github.com/maros/MooseX-App/pull/66 -Patch1: 0001_fix_testing_for_Moose_2.2014.patch BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Config::Any) BuildRequires: perl(List::Util) >= 1.44 BuildRequires: perl(Module::Pluggable) BuildRequires: perl(Moose) >= 2.00 -BuildRequires: perl(MooseX::Types::Path::Class) BuildRequires: perl(Pod::Elemental) BuildRequires: perl(Test::Most) BuildRequires: perl(Test::NoWarnings) BuildRequires: perl(namespace::autoclean) -Requires: perl(Config::Any) Requires: perl(List::Util) >= 1.44 Requires: perl(Module::Pluggable) Requires: perl(Moose) >= 2.00 -Requires: perl(MooseX::Types::Path::Class) Requires: perl(Pod::Elemental) Requires: perl(namespace::autoclean) -Recommends: perl(File::HomeDir) -Recommends: perl(IO::Interactive) -Recommends: perl(Term::ReadKey) -Recommends: perl(Text::WagnerFischer) -Recommends: perl(Win32::Console::ANSI) %{perl_requires} +# MANUAL BEGIN +BuildRequires: perl(Config::Any) +# MANUAL END %description MooseX-App is a highly customisable helper to write user-friendly command @@ -65,7 +55,7 @@ keywords respectively. %prep -%autosetup -n %{cpan_name}-%{version} -p1 +%autosetup -n %{cpan_name}-%{version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build ++++++ MooseX-App-1.41.tar.gz -> MooseX-App-1.42.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-App-1.41/Changes new/MooseX-App-1.42/Changes --- old/MooseX-App-1.41/Changes 2019-05-13 22:54:21.000000000 +0200 +++ new/MooseX-App-1.42/Changes 2021-08-15 16:02:33.000000000 +0200 @@ -1,5 +1,11 @@ Release history for Perl module MooseX::App +1.42 2021-08-15 + - Documentation + - Fix failing tests with new Moose versions (implemented by Frank Schreiner) + - Sort option in bash completion plugin (implemented by Frank Schreiner) + - Fixed term plugin warning (implemented by J.R. Mash) + 1.41 2019-05-13 - Switch to Dist::Zilla diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-App-1.41/META.json new/MooseX-App-1.42/META.json --- old/MooseX-App-1.41/META.json 2019-05-13 22:54:21.000000000 +0200 +++ new/MooseX-App-1.42/META.json 2021-08-15 16:02:33.000000000 +0200 @@ -13,6 +13,52 @@ "version" : 2 }, "name" : "MooseX-App", + "optional_features" : { + "colour" : { + "description" : "Colourful output", + "prereqs" : { + "runtime" : { + "requires" : { + "IO::Interactive" : "0", + "Term::ANSIColor" : "0", + "Win32::Console::ANSI" : "0" + } + } + } + }, + "config" : { + "description" : "Config plugins", + "prereqs" : { + "runtime" : { + "requires" : { + "Config::Any" : "0", + "File::HomeDir" : "0" + } + } + } + }, + "term" : { + "description" : "Term plugin", + "prereqs" : { + "runtime" : { + "requires" : { + "IO::Interactive" : "0", + "Term::ANSIColor" : "0" + } + } + } + }, + "typo" : { + "description" : "Typo plugin", + "prereqs" : { + "runtime" : { + "requires" : { + "Text::WagnerFischer" : "0" + } + } + } + } + }, "prereqs" : { "configure" : { "requires" : { @@ -27,22 +73,12 @@ } }, "runtime" : { - "recommends" : { - "File::HomeDir" : "0", - "IO::Interactive" : "0", - "Term::ANSIColor" : "0", - "Term::ReadKey" : "0", - "Text::WagnerFischer" : "0", - "Win32::Console::ANSI" : "0" - }, "requires" : { - "Config::Any" : "0", "File::Basename" : "0", "File::Spec" : "0", "List::Util" : "1.44", "Module::Pluggable" : "0", "Moose" : "2.00", - "MooseX::Types::Path::Class" : "0", "Pod::Elemental" : "0", "namespace::autoclean" : "0", "perl" : "5.010" @@ -66,7 +102,7 @@ "web" : "https://github.com/maros/MooseX-App" } }, - "version" : "1.41", + "version" : "1.42", "x_generated_by_perl" : "v5.24.0", "x_serialization_backend" : "Cpanel::JSON::XS version 3.0217" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-App-1.41/META.yml new/MooseX-App-1.42/META.yml --- old/MooseX-App-1.41/META.yml 2019-05-13 22:54:21.000000000 +0200 +++ new/MooseX-App-1.42/META.yml 2021-08-15 16:02:33.000000000 +0200 @@ -14,27 +14,39 @@ url: http://module-build.sourceforge.net/META-spec-v1.4.html version: '1.4' name: MooseX-App -recommends: - File::HomeDir: '0' - IO::Interactive: '0' - Term::ANSIColor: '0' - Term::ReadKey: '0' - Text::WagnerFischer: '0' - Win32::Console::ANSI: '0' +optional_features: + colour: + description: 'Colourful output' + requires: + IO::Interactive: '0' + Term::ANSIColor: '0' + Win32::Console::ANSI: '0' + config: + description: 'Config plugins' + requires: + Config::Any: '0' + File::HomeDir: '0' + term: + description: 'Term plugin' + requires: + IO::Interactive: '0' + Term::ANSIColor: '0' + typo: + description: 'Typo plugin' + requires: + Text::WagnerFischer: '0' requires: - Config::Any: '0' File::Basename: '0' File::Spec: '0' List::Util: '1.44' Module::Pluggable: '0' Moose: '2.00' - MooseX::Types::Path::Class: '0' Pod::Elemental: '0' namespace::autoclean: '0' perl: '5.010' resources: bugtracker: https://github.com/maros/MooseX-App/issues repository: git://github.com/maros/MooseX-App.git -version: '1.41' +version: '1.42' x_generated_by_perl: v5.24.0 x_serialization_backend: 'YAML::Tiny version 1.69' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-App-1.41/Makefile.PL new/MooseX-App-1.42/Makefile.PL --- old/MooseX-App-1.41/Makefile.PL 2019-05-13 22:54:21.000000000 +0200 +++ new/MooseX-App-1.42/Makefile.PL 2021-08-15 16:02:33.000000000 +0200 @@ -17,13 +17,11 @@ "MIN_PERL_VERSION" => "5.010", "NAME" => "MooseX::App", "PREREQ_PM" => { - "Config::Any" => 0, "File::Basename" => 0, "File::Spec" => 0, "List::Util" => "1.44", "Module::Pluggable" => 0, "Moose" => "2.00", - "MooseX::Types::Path::Class" => 0, "Pod::Elemental" => 0, "namespace::autoclean" => 0 }, @@ -31,7 +29,7 @@ "Test::Most" => 0, "Test::NoWarnings" => 0 }, - "VERSION" => "1.41", + "VERSION" => "1.42", "test" => { "TESTS" => "t/*.t" } @@ -39,13 +37,11 @@ my %FallbackPrereqs = ( - "Config::Any" => 0, "File::Basename" => 0, "File::Spec" => 0, "List::Util" => "1.44", "Module::Pluggable" => 0, "Moose" => "2.00", - "MooseX::Types::Path::Class" => 0, "Pod::Elemental" => 0, "Test::Most" => 0, "Test::NoWarnings" => 0, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-App-1.41/cpanfile new/MooseX-App-1.42/cpanfile --- old/MooseX-App-1.41/cpanfile 2019-05-13 22:54:21.000000000 +0200 +++ new/MooseX-App-1.42/cpanfile 2021-08-15 16:02:33.000000000 +0200 @@ -3,25 +3,36 @@ requires 'Module::Pluggable'; requires 'File::Basename'; requires 'File::Spec'; -requires 'MooseX::Types::Path::Class'; -requires 'Config::Any'; requires 'List::Util', '1.44'; requires 'Pod::Elemental'; -recommends 'IO::Interactive'; -recommends 'Term::ReadKey'; -recommends 'Term::ANSIColor'; -recommends 'File::HomeDir'; -recommends 'Text::WagnerFischer'; -recommends 'Win32::Console::ANSI'; +feature 'config', 'Config plugins' => sub { + requires 'Config::Any'; # or recommends + requires 'File::HomeDir'; +}; + +feature 'colour', 'Colourful output' => sub { + requires 'IO::Interactive'; + requires 'Term::ANSIColor'; + requires 'Win32::Console::ANSI'; +}; + +feature 'term', 'Term plugin' => sub { + requires 'IO::Interactive'; + requires 'Term::ANSIColor'; +}; + +feature 'typo', 'Typo plugin' => sub { + requires 'Text::WagnerFischer'; +}; on test => sub { - requires 'Test::Most'; - requires 'Test::NoWarnings'; + requires 'Test::Most'; + requires 'Test::NoWarnings'; }; on develop => sub { - requires 'Test::Pod', '1.14'; - requires 'Test::Pod::Coverage', '1.04'; - requires 'Test::Perl::Critic'; + requires 'Test::Pod', '1.14'; + requires 'Test::Pod::Coverage', '1.04'; + requires 'Test::Perl::Critic'; }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-App-1.41/lib/MooseX/App/Plugin/BashCompletion/Command.pm new/MooseX-App-1.42/lib/MooseX/App/Plugin/BashCompletion/Command.pm --- old/MooseX-App-1.41/lib/MooseX/App/Plugin/BashCompletion/Command.pm 2019-05-13 22:54:21.000000000 +0200 +++ new/MooseX-App-1.42/lib/MooseX/App/Plugin/BashCompletion/Command.pm 2021-08-15 16:02:33.000000000 +0200 @@ -62,7 +62,7 @@ foreach my $command (sort keys %command_map) { $syntax .= "_${prefix}_macc_${command}() {\n _${prefix}_compreply \""; #$syntax .= join(" ", @{$data->{parameters}}); - $syntax .= join(" ", @{$command_map{$command}->{options}}); + $syntax .= join(" ", sort @{$command_map{$command}->{options}}); $syntax .= "\"\n}\n\n"; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-App-1.41/lib/MooseX/App/Plugin/Term/Meta/Attribute.pm new/MooseX-App-1.42/lib/MooseX/App/Plugin/Term/Meta/Attribute.pm --- old/MooseX-App-1.41/lib/MooseX/App/Plugin/Term/Meta/Attribute.pm 2019-05-13 22:54:21.000000000 +0200 +++ new/MooseX-App-1.42/lib/MooseX/App/Plugin/Term/Meta/Attribute.pm 2021-08-15 16:02:33.000000000 +0200 @@ -230,7 +230,7 @@ print "\b".substr $return,$cursor; # print print " ".(("\b") x (length($return) - $cursor + 1)); # cursor } else { # Character - if ($_ <= 31) { # ignore controll chars + if ($key_code <= 31) { # ignore controll chars print "\a"; next KEY_STRING; } elsif (defined $allowed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-App-1.41/lib/MooseX/App/Simple.pm new/MooseX-App-1.42/lib/MooseX/App/Simple.pm --- old/MooseX-App-1.41/lib/MooseX/App/Simple.pm 2019-05-13 22:54:21.000000000 +0200 +++ new/MooseX-App-1.42/lib/MooseX/App/Simple.pm 2021-08-15 16:02:33.000000000 +0200 @@ -8,7 +8,7 @@ use warnings; our $AUTHORITY = 'cpan:MAROS'; -our $VERSION = '1.41'; +our $VERSION = '1.42'; use Moose::Exporter; use MooseX::App::Exporter qw(app_usage app_description app_base app_fuzzy app_strict app_prefer_commandline app_permute option parameter command_short_description command_long_description command_usage command_strict); @@ -137,7 +137,7 @@ =head1 DESCRIPTION -MooseX-App-Simple works basically just as MooseX::App, however it does +MooseX::App::Simple works basically just as MooseX::App, however it does not search for commands and assumes that you have all options and parameters defined in the current class. @@ -166,12 +166,13 @@ =head1 OPTIONS -Same as in L<MooseX::App> +Same as in L<MooseX::App>, however all options regarding command loading such +as L<app_namespace> and L<app_exclude> are not available. =head1 PLUGINS -Same as in L<MooseX::App>. However plugings adding commands (eg. version) -will not work with MooseX::App::Simple. +Same as in L<MooseX::App>. However plugings adding additional commands +(eg. version) will have no effect with MooseX::App::Simple. =head1 SEE ALSO diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-App-1.41/lib/MooseX/App/Tutorial.pod new/MooseX-App-1.42/lib/MooseX/App/Tutorial.pod --- old/MooseX-App-1.41/lib/MooseX/App/Tutorial.pod 2019-05-13 22:54:21.000000000 +0200 +++ new/MooseX-App-1.42/lib/MooseX/App/Tutorial.pod 2021-08-15 16:02:33.000000000 +0200 @@ -21,7 +21,8 @@ =head1 BASE CLASS The simplest possible base class just contains a single use statement which -loads all roles and metaclasses you need to get started as well as Moose. +loads all roles and metaclasses you need to get started as well as Moose and +hence strictures as well as warnings. package MyApp; use MooseX::App; @@ -129,7 +130,7 @@ required => 1, documentation => q[Some important option], cmd_tags => [qw(Important!)], # Extra tags. Displayed in square brackets - cmd_aliases => [qw(s)], # Alternative option name + cmd_aliases => [qw(any)], # Alternative option name cmd_flag => 'some', # Option should be called 'some' instead of 'some_option' ); @@ -164,7 +165,7 @@ --help --usage -? Prints this usage information. [Flag] In case you want to include an attribute not defined with the 'option' or -'parameter' keyword you can use the 'AppOption' trait and 'cmd_type' +'parameter' keyword (eg from a Role) you can use the 'AppOption' trait and 'cmd_type' attribute. (see L<MooseX::App::Meta::Attribute::Option>). has 'myoption' => ( @@ -189,10 +190,10 @@ package MyApp; use MooseX::App::Simple qw(Config); # Loads the Config plugin - option 'some_global_option' => ( + option 'some_option' => ( is => 'rw', isa => 'Str', - documentation => q[Some important global option], + documentation => q[Some important option], ); sub run { @@ -242,13 +243,10 @@ constraints and additional plugins (eg. colorise the output). Make sure to invoke your script with APP_DEVELOPER=1 during development. This -will perform additional checks for detecting wrong attribute/type constraint -combinations, name clashes, ... +will come with a starup penalty but perform additional checks for detecting wrong +attribute/type constraint combinations, name clashes, ... If you want custom behaviour you could start writing your own L<MooseX::App::WritingPlugins|plugins>. -Make sure to run your application in the APP_DEVELOPER=1 environment. In this mode -additional sanity checks will be performed upon startup. - =cut \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-App-1.41/lib/MooseX/App.pm new/MooseX-App-1.42/lib/MooseX/App.pm --- old/MooseX-App-1.41/lib/MooseX/App.pm 2019-05-13 22:54:21.000000000 +0200 +++ new/MooseX-App-1.42/lib/MooseX/App.pm 2021-08-15 16:02:33.000000000 +0200 @@ -8,7 +8,7 @@ use warnings; our $AUTHORITY = 'cpan:MAROS'; -our $VERSION = '1.41'; +our $VERSION = '1.42'; use MooseX::App::Meta::Role::Attribute::Option; use MooseX::App::Exporter qw(app_usage app_description app_base app_fuzzy app_strict app_prefer_commandline app_permute option parameter); @@ -297,7 +297,7 @@ cmd_type => 'option', # Set attribute type ); -Single letter options are treated as flags and may be combined with eachother. +Single letter options are treated as flags and may be combined with each other. However such options must have a Boolean type constraint. option 'verbose' => ( @@ -443,7 +443,7 @@ app_exclude 'MyApp::Commands::Roles','MyApp::Commands::Utils'; -A sub namespace included via app_namespace (or the default behaviour) can +A sub namespace included via L<app_namespace> (or the default behaviour) can be excluded using app_exclude. =head2 app_command_name @@ -465,7 +465,7 @@ undo => 'MyApp::Commands::UndoSomething'; This keyword can be used to register additional commands. Especially -useful in conjunction with app_namespace and disabled autoloading. +useful in conjunction with L<app_namespace> and disabled autoloading. =head2 app_description @@ -492,7 +492,7 @@ Allows one to specify multiple values with one key. So instead of writing C<--list element1 --list element2 --list element3> one might write C<--list element1 element2 element3> for ArrayRef elements. HashRef elements -may be expressed as <--hash key=value key2=value2>. +may be expressed as C<--hash key=value key2=value2>. =head1 GLOBAL ATTRIBUTES @@ -519,7 +519,7 @@ =item * cmd_aliases - Additional option/parameter name aliases -=item * cmd_split - Split values into ArrayRefs on this token +=item * cmd_split - Split values into ArrayRefs on this token or RegEx =item * cmd_position - Specify option/parameter order in help @@ -544,9 +544,9 @@ =item * Package names -=item * L<required> options for Moose attributes +=item * L<required|Moose/"required-=E<gt>-(1|0)"> options for Moose attributes -=item * L<documentation> options for Moose attributes +=item * L<documentation|Moose/"documentation =E<gt> $string"> options for Moose attributes =item * Moose type constraints (Bool, ArrayRef, HashRef, Int, Num, and Enum) @@ -556,7 +556,7 @@ =item * POD (NAME, ABSTRACT, DESCRIPTION, USAGE, SYNOPSIS, OVERVIEW, COPYRIGHT, LICENSE, COPYRIGHT AND LICENSE, AUTHOR and AUTHORS sections) -=item * Dzil ABSTRACT tag if no POD is available yet +=item * L<Dist::Zilla> ABSTRACT tag if no POD is available yet =back @@ -619,6 +619,12 @@ Refer to L<Writing MooseX-App Plugins|MooseX::App::WritingPlugins> for documentation on how to create your own plugins. +=head1 DEVELOPMENT + +Make sure to invoke your script with APP_DEVELOPER=1 ser during development. This +will come with a starup penalty but perform additional checks for detecting wrong +attribute/type constraint combinations, name clashes, ... + =head1 CAVEATS & KNOWN BUGS Startup time may be an issue - escpecially if you load many plugins. If you do @@ -649,7 +655,7 @@ For alternatives you can check out -L<MooseX::App::Cmd>, L<MooseX::Getopt>, L<MooX::Options>, L<MooX::Cmd>and L<App::Cmd> +L<MooseX::App::Cmd>, L<MooseX::Getopt>, L<MooX::Options>, L<MooX::Cmd> and L<App::Cmd> =head1 SUPPORT @@ -674,7 +680,7 @@ Michael G, Thomas Klausner, Yanick Champoux, Edward Baudrez, David Golden, J.R. Mash, Thilo Fester, Gregor Herrmann, Sergey Romanov, Sawyer X, Roman F., Hunter McMillen, Maik Hentsche, Alexander Stoddard, Marc Logghe, Tina M??ller, -Lisa Hare, Jose Luis Martinez +Lisa Hare, Jose Luis Martinez, Frank Schreiner You are more than welcome to contribute to MooseX-App. Please have a look at the L<https://github.com/maros/MooseX-App/issues?q=is%3Aissue+is%3Aopen+label%3AWishlist> @@ -682,7 +688,7 @@ =head1 COPYRIGHT -MooseX::App is Copyright (c) 2012-17 Maro?? Koll??r. +MooseX::App is Copyright (c) 2012-21 Maro?? Koll??r. This library is free software and may be distributed under the same terms as perl itself. The full text of the licence can be found in the LICENCE file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MooseX-App-1.41/t/05_extended.t new/MooseX-App-1.42/t/05_extended.t --- old/MooseX-App-1.41/t/05_extended.t 2019-05-13 22:54:21.000000000 +0200 +++ new/MooseX-App-1.42/t/05_extended.t 2021-08-15 16:02:33.000000000 +0200 @@ -241,7 +241,9 @@ MooseX::App::ParsedArgv->new(argv => [qw(somecommand --another hase hh h ggg)]); my $test18 = Test03->new_with_command(); isa_ok($test18,'MooseX::App::Message::Envelope'); - is($test18->blocks->[0]->body,"Value must be one of these values: aaa, bbb, ccc, ddd, eee, fff (not 'ggg')","Check enum error message"); + like($test18->blocks->[0]->body, + qr{(Value must be one of these values: aaa, bbb, ccc, ddd, eee, fff \(not 'ggg'\)|Validation failed for '__ANON__' with value "?ggg"?. Value must be equal to "aaa", "bbb", "ccc", "ddd", "eee", or "fff".)}, + "Check enum error message"); }; subtest 'Test empty multi' => sub { @@ -283,4 +285,4 @@ my $test22 = Test03->new_with_command(); isa_ok($test22,'Test03::SomeCommand'); cmp_deeply($test22->list,[qw(val1 val2 val3 val4)],'List ok'); -}; \ No newline at end of file +}; ++++++ cpanspec.yml ++++++ --- /var/tmp/diff_new_pack.T63xAf/_old 2021-08-23 10:08:37.660214366 +0200 +++ /var/tmp/diff_new_pack.T63xAf/_new 2021-08-23 10:08:37.664214361 +0200 @@ -7,12 +7,10 @@ #sources: # - source1 # - source2 -patches: - 0000_reproducible_bash_completion.patch: -p1 PATCH-FIX-UPSTREAM fixes https://bugzilla.opensuse.org/show_bug.cgi?id=1181616 and might get superseded by https://github.com/maros/MooseX-App/pull/64 - 0001_fix_testing_for_Moose_2.2014.patch: -p1 PATCH-FIX-UPSTREAM fixes https://github.com/maros/MooseX-App/issues/62 and might get superseded by https://github.com/maros/MooseX-App/pull/66 +#patches: # bar.patch: -#preamble: |- -# BuildRequires: gcc-c++ +preamble: |- + BuildRequires: perl(Config::Any) #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL