commit fe9230f6b33b81d0c1dc808a6c7030f447335dd0 Author: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Wed Feb 25 12:10:56 2015 +0100 Update to 0.30 (which allows us to drop an upstreamed patch) Remove perl-MouseX-App-Cmd (which is now its own package) .gitignore | 1 + ...-0.27-adapt_tests_to_params_validate_1_09.patch | 43 ----------------- perl-MooseX-App-Cmd.spec | 56 ++++++---------------- sources | 2 +- 4 files changed, 17 insertions(+), 85 deletions(-) --- diff --git a/.gitignore b/.gitignore index 41c9e4d..ee97de7 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ MooseX-App-Cmd-0.06.tar.gz /MooseX-App-Cmd-0.07.tar.gz /MooseX-App-Cmd-0.09.tar.gz /MooseX-App-Cmd-0.27.tar.gz +/MooseX-App-Cmd-0.30.tar.gz diff --git a/perl-MooseX-App-Cmd.spec b/perl-MooseX-App-Cmd.spec index b6a85fb..be7ff16 100644 --- a/perl-MooseX-App-Cmd.spec +++ b/perl-MooseX-App-Cmd.spec @@ -1,18 +1,15 @@ Name: perl-MooseX-App-Cmd -Version: 0.27 -Release: 4%{?dist} +Version: 0.30 +Release: 1%{?dist} # see lib/MooseX/App/Cmd.pm License: GPL+ or Artistic -Group: Development/Libraries Summary: Mashes up MooseX::Getopt and App::Cmd -Source: http://search.cpan.org/CPAN/authors/id/M/MJ/MJGARDNER/MooseX-App-Cmd-%{version}.tar.gz -# Adapt to Params-Validate-1.09, bug #1099738, in upstream after 0.27 -Patch0: MooseX-App-Cmd-0.27-adapt_tests_to_params_validate_1_09.patch +Source: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-App-Cmd-%{version}.tar.gz Url: http://search.cpan.org/dist/MooseX-App-Cmd BuildArch: noarch BuildRequires: perl -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) @@ -27,12 +24,12 @@ BuildRequires: perl(Getopt::Long::Descriptive) >= 0.091 BuildRequires: perl(Moose::Object) # any_moose('X::Getopt') BuildRequires: perl(MooseX::Getopt) >= 0.18 -BuildRequires: perl(Mouse) BuildRequires: perl(namespace::clean) # Tests: BuildRequires: perl(base) BuildRequires: perl(Carp) +BuildRequires: perl(CPAN::Meta) >= 2.120900 BuildRequires: perl(Data::Dumper) # File::Copy not used BuildRequires: perl(File::Spec) @@ -42,8 +39,7 @@ BuildRequires: perl(IO::Handle) # FindBin not used BuildRequires: perl(lib) BuildRequires: perl(Moose) >= 0.86 -# Both any_moose('X::Getopt') exercised by t/00-compile.t -BuildRequires: perl(MouseX::Getopt) +BuildRequires: perl(MooseX::ConfigFromFile) # Pod::Coverage::TrustPod not used # Test::EOL not used # Test::Kwalitee 1.12 not used @@ -56,10 +52,6 @@ BuildRequires: perl(Test::More) >= 0.94 # Test::use::ok not used BuildRequires: perl(YAML) -# Optional tests: -# MouseX::ConfigFromFile not yet packaged -## any_moose('X::ConfigFromFile') -#BuildRequires: perl(MouseX::ConfigFromFile) >= 0.08 BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::Output) @@ -89,54 +81,36 @@ MooseX::Getopt defining the options for you instead of 'opt_spec' returning a Getopt::Long::Descriptive spec. -%package -n perl-MouseX-App-Cmd -Summary: Mashes up MouseX::Getopt and App::Cmd -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -# we don't pick up Moose keywords automagically yet -Requires: perl(MooseX::App::Cmd) -Requires: perl(MooseX::App::Cmd::Command) -# any_moose('::Object') -Requires: perl(Mouse::Object) -# any_moose('X::Getopt') -Requires: perl(MouseX::Getopt) - -%description -n perl-MouseX-App-Cmd -This package marries App::Cmd with MouseX::Getopt. - -It extends MooseX::App::Cmd which uses Any::Moose to work with either -Moose or Mouse. - - %prep %setup -q -n MooseX-App-Cmd-%{version} -%patch0 -p1 # Test::use::ok is useless, # <https://github.com/mjgardner/moosex-app-cmd/issues/11> sed -i -e '/Test::use::ok/d' Makefile.PL META.* %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' %{_fixperms} %{buildroot}/* %check make test %files -%doc Changes LICENSE README TODO +%doc Changes README TODO +%license LICENSE %{perl_vendorlib}/MooseX %{_mandir}/man3/MooseX::*.3* -%files -n perl-MouseX-App-Cmd -%doc LICENSE -%{perl_vendorlib}/MouseX -%{_mandir}/man3/MouseX::*.3* - %changelog +* Wed Feb 25 2015 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.30-1 +- Update to 0.30 +- Drop MouseX::App::Cmd (which now has its own distribution) +- Drop upstreamed patch +- Use the %%license tag + * Mon Sep 01 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.27-4 - Perl 5.20 rebuild diff --git a/sources b/sources index 1d5e12e..dae7855 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a11b9e87a62d1067b422f380c648973f MooseX-App-Cmd-0.27.tar.gz +0723db82fc97e3496124cd0530019026 MooseX-App-Cmd-0.30.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel