Update to 0.63
- Update to latest upstream version - Switch to Module::Build::Tiny flow - Drop provides/obsoletes for old tests sub-package - Package new upstream CONTRIBUTING and README.md files - Classify buildreqs by usage - Make %files list more explicit
This commit is contained in:
parent
8a7b0dfdbe
commit
f30720c4be
|
@ -1,9 +1 @@
|
|||
MooseX-Getopt-0.27.tar.gz
|
||||
/MooseX-Getopt-0.33.tar.gz
|
||||
/MooseX-Getopt-0.35.tar.gz
|
||||
/MooseX-Getopt-0.37.tar.gz
|
||||
/MooseX-Getopt-0.38.tar.gz
|
||||
/MooseX-Getopt-0.39.tar.gz
|
||||
/MooseX-Getopt-0.40.tar.gz
|
||||
/MooseX-Getopt-0.45.tar.gz
|
||||
/MooseX-Getopt-0.47.tar.gz
|
||||
/MooseX-Getopt-[0-9.]*.tar.gz
|
||||
|
|
|
@ -1,37 +1,57 @@
|
|||
Name: perl-MooseX-Getopt
|
||||
Summary: Moose role for processing command line options
|
||||
Version: 0.47
|
||||
Release: 4%{?dist}
|
||||
Version: 0.63
|
||||
Release: 1%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-Getopt-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/MooseX-Getopt/
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
|
||||
# Module Build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.035
|
||||
# Module Runtime
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Getopt::Long) >= 2.37
|
||||
BuildRequires: perl(Getopt::Long::Descriptive) >= 0.081
|
||||
BuildRequires: perl(Moose) >= 0.56
|
||||
BuildRequires: perl(Moose)
|
||||
BuildRequires: perl(Moose::Meta::Attribute)
|
||||
BuildRequires: perl(Moose::Role) >= 0.56
|
||||
BuildRequires: perl(Moose::Util::TypeConstraints)
|
||||
BuildRequires: perl(MooseX::Role::Parameterized)
|
||||
# MooseX::SimpleConfig -> MooseX::ConfigFromFile -> MooseX::Types::Path::Class -> MooseX::Getopt
|
||||
%if !0%{?perl_bootstrap}
|
||||
BuildRequires: perl(MooseX::SimpleConfig) >= 0.07
|
||||
%endif
|
||||
BuildRequires: perl(Path::Class)
|
||||
BuildRequires: perl(namespace::autoclean)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(Try::Tiny)
|
||||
BuildRequires: perl(warnings)
|
||||
# Test Suite
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
BuildRequires: perl(if)
|
||||
BuildRequires: perl(List::Util)
|
||||
BuildRequires: perl(Module::Runtime)
|
||||
BuildRequires: perl(Moose::Meta::Class)
|
||||
BuildRequires: perl(Moose::Util)
|
||||
BuildRequires: perl(Path::Tiny) >= 0.009
|
||||
BuildRequires: perl(Test::Deep)
|
||||
BuildRequires: perl(Test::Fatal) >= 0.003
|
||||
BuildRequires: perl(Test::Moose)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Requires) >= 0.05
|
||||
BuildRequires: perl(Test::Trap)
|
||||
BuildRequires: perl(Test::Warn) >= 0.21
|
||||
|
||||
# obsolete/provide old tests subpackage
|
||||
# can be removed during F19 development cycle
|
||||
Obsoletes: %{name}-tests < 0.38-3
|
||||
Provides: %{name}-tests = %{version}-%{release}
|
||||
BuildRequires: perl(Test::Warnings) >= 0.009
|
||||
BuildRequires: perl(version)
|
||||
# Optional Test Requirements
|
||||
BuildRequires: perl(CPAN::Meta)
|
||||
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120900
|
||||
# MooseX::SimpleConfig -> MooseX::ConfigFromFile -> MooseX::Types::Path::Class -> MooseX::Getopt
|
||||
%if !0%{?perl_bootstrap}
|
||||
BuildRequires: perl(MooseX::ConfigFromFile) >= 0.08
|
||||
BuildRequires: perl(MooseX::SimpleConfig) >= 0.07
|
||||
%endif
|
||||
BuildRequires: perl(YAML)
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
|
@ -46,25 +66,39 @@ objects using parameters passed in from the command line.
|
|||
sed -i '1s,#!.*perl,#!%{__perl},' t/*.t
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
|
||||
%{_fixperms} %{buildroot}/*
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
|
||||
%check
|
||||
make test
|
||||
./Build test
|
||||
|
||||
%files
|
||||
%doc Changes LICENSE README t/
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
%doc Changes CONTRIBUTING LICENSE README README.md t/
|
||||
%{perl_vendorlib}/MooseX/
|
||||
%{_mandir}/man3/MooseX::Getopt.3*
|
||||
%{_mandir}/man3/MooseX::Getopt::Basic.3*
|
||||
%{_mandir}/man3/MooseX::Getopt::Dashes.3*
|
||||
%{_mandir}/man3/MooseX::Getopt::GLD.3*
|
||||
%{_mandir}/man3/MooseX::Getopt::Meta::Attribute.3*
|
||||
%{_mandir}/man3/MooseX::Getopt::Meta::Attribute::NoGetopt.3*
|
||||
%{_mandir}/man3/MooseX::Getopt::Meta::Attribute::Trait.3*
|
||||
%{_mandir}/man3/MooseX::Getopt::Meta::Attribute::Trait::NoGetopt.3*
|
||||
%{_mandir}/man3/MooseX::Getopt::OptionTypeMap.3*
|
||||
%{_mandir}/man3/MooseX::Getopt::ProcessedArgv.3*
|
||||
%{_mandir}/man3/MooseX::Getopt::Strict.3*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 25 2014 Paul Howarth <paul@city-fan.org> - 0.63-1
|
||||
- Update to latest upstream version
|
||||
- Switch to Module::Build::Tiny flow
|
||||
- Drop provides/obsoletes for old tests sub-package
|
||||
- Package new upstream CONTRIBUTING and README.md files
|
||||
- Classify buildreqs by usage
|
||||
- Make %%files list more explicit
|
||||
|
||||
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.47-4
|
||||
- Perl 5.18 re-rebuild of bootstrapped packages
|
||||
|
||||
|
|
Loading…
Reference in New Issue