8
0

- updated to 0.45

- use Path::Class in test to avoid test failures on MSWin32 with filename
   construction
 - now respecting value of configfile passed to the constructor, when used in
   conjunction with MooseX::ConfigFromFile. (Karen Etheridge)
 - reformatted the Changes file, with the help of CPAN::Changes, to something
   a little more standard.
 - more release-only tests added
 - Now bails with exit status 0, rather than dying, when printing
   requested --usage/--help information (usage printed via invalid arguments
   will still die, however). (Karen Etheridge)
 - Fix tests when MooseX::ConfigFromFile is installed, with
   Getopt::Long::Descriptive >= 0.091. RT#76287
 - Pod fix from debian. Salvatore Bonaccorso <carnil@debian.org> RT#74681
 - Spelling fix from debian. Jonathan Yu <jawnsy@cpan.org> RT#74681

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MooseX-Getopt?expand=0&rev=12
This commit is contained in:
Stephan Kulow
2012-05-28 13:58:50 +00:00
committed by Git OBS Bridge
parent 19a357d65f
commit 79c242b746
4 changed files with 34 additions and 9 deletions

View File

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

View File

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

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon May 28 13:46:00 UTC 2012 - coolo@suse.com
- updated to 0.45
- use Path::Class in test to avoid test failures on MSWin32 with filename
construction
- now respecting value of configfile passed to the constructor, when used in
conjunction with MooseX::ConfigFromFile. (Karen Etheridge)
- reformatted the Changes file, with the help of CPAN::Changes, to something
a little more standard.
- more release-only tests added
- Now bails with exit status 0, rather than dying, when printing
requested --usage/--help information (usage printed via invalid arguments
will still die, however). (Karen Etheridge)
- Fix tests when MooseX::ConfigFromFile is installed, with
Getopt::Long::Descriptive >= 0.091. RT#76287
- Pod fix from debian. Salvatore Bonaccorso <carnil@debian.org> RT#74681
- Spelling fix from debian. Jonathan Yu <jawnsy@cpan.org> RT#74681
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 14 07:52:08 UTC 2012 - coolo@suse.com Tue Feb 14 07:52:08 UTC 2012 - coolo@suse.com

View File

@@ -17,14 +17,14 @@
Name: perl-MooseX-Getopt Name: perl-MooseX-Getopt
Version: 0.39 Version: 0.45
Release: 0 Release: 0
%define cpan_name MooseX-Getopt %define cpan_name MooseX-Getopt
Summary: A Moose role for processing command line options Summary: A Moose role for processing command line options
License: Artistic-1.0 or GPL-1.0+ License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/MooseX-Getopt/ Url: http://search.cpan.org/dist/MooseX-Getopt/
Source: http://www.cpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{version}.tar.gz Source: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
# MANUAL # MANUAL
Patch1: perl-MooseX-Getopt-use_lib.patch Patch1: perl-MooseX-Getopt-use_lib.patch
BuildArch: noarch BuildArch: noarch
@@ -35,9 +35,11 @@ BuildRequires: perl(Getopt::Long) >= 2.37
BuildRequires: perl(Getopt::Long::Descriptive) >= 0.081 BuildRequires: perl(Getopt::Long::Descriptive) >= 0.081
BuildRequires: perl(Moose) >= 0.56 BuildRequires: perl(Moose) >= 0.56
BuildRequires: perl(MooseX::Role::Parameterized) BuildRequires: perl(MooseX::Role::Parameterized)
BuildRequires: perl(Path::Class)
BuildRequires: perl(Test::Fatal) >= 0.003 BuildRequires: perl(Test::Fatal) >= 0.003
BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Requires) >= 0.05 BuildRequires: perl(Test::Requires) >= 0.05
BuildRequires: perl(Test::Trap)
BuildRequires: perl(Test::Warn) >= 0.21 BuildRequires: perl(Test::Warn) >= 0.21
#BuildRequires: perl(App) #BuildRequires: perl(App)
#BuildRequires: perl(BaseApp::WithConfig) #BuildRequires: perl(BaseApp::WithConfig)
@@ -105,9 +107,9 @@ the MooseX::Getopt manpage's 'new_with_options' will load the configfile
specified by the '--configfile' option (or the default you've given for the specified by the '--configfile' option (or the default you've given for the
configfile attribute) for you. configfile attribute) for you.
Options specified in multiple places follow the following precendence Options specified in multiple places follow the following precedence order:
order: commandline overrides configfile, which overrides explicit commandline overrides configfile, which overrides explicit new_with_options
new_with_options parameters. parameters.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
@@ -132,6 +134,6 @@ sed -i "s|__vendorperl__|%{perl_vendorlib}|g" Makefile.PL t/*.t
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc ChangeLog LICENSE README %doc Changes LICENSE README
%changelog %changelog