diff --git a/.gitignore b/.gitignore index 37e75b6..607b52d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ Getopt-Long-Descriptive-0.084.tar.gz /Getopt-Long-Descriptive-0.093.tar.gz /Getopt-Long-Descriptive-0.098.tar.gz /Getopt-Long-Descriptive-0.099.tar.gz +/Getopt-Long-Descriptive-0.100.tar.gz diff --git a/perl-Getopt-Long-Descriptive.spec b/perl-Getopt-Long-Descriptive.spec index 2e130f7..71eef4d 100644 --- a/perl-Getopt-Long-Descriptive.spec +++ b/perl-Getopt-Long-Descriptive.spec @@ -1,18 +1,19 @@ Name: perl-Getopt-Long-Descriptive Summary: Getopt::Long with usage text -Version: 0.099 -Release: 5%{?dist} +Version: 0.100 +Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Getopt-Long-Descriptive-%{version}.tar.gz URL: http://search.cpan.org/dist/Getopt-Long-Descriptive/ -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) BuildArch: noarch +# Build: +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(strict) -BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(File::Basename) @@ -21,17 +22,22 @@ BuildRequires: perl(List::Util) BuildRequires: perl(overload) BuildRequires: perl(Params::Validate) >= 0.97 BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) BuildRequires: perl(Sub::Exporter) >= 0.972 BuildRequires: perl(Sub::Exporter::Util) +BuildRequires: perl(warnings) # Tests: +BuildRequires: perl(CPAN::Meta::Check) >= 0.011 +BuildRequires: perl(CPAN::Meta::Requirements) BuildRequires: perl(File::Spec) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::Warnings) >= 0.005 # Optional tests: -# CPAN::Meta >= 2.120900 not useful - -%{?perl_default_filter} +BuildRequires: perl(CPAN::Meta) >= 2.120900 +BuildRequires: perl(Moose::Conflicts) +# Dependencies +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Convenient wrapper for Getopt::Long and program usage output. @@ -45,8 +51,8 @@ make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -%{_fixperms} %{buildroot}/* +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} %{buildroot} %check make test @@ -54,10 +60,20 @@ make test %files %license LICENSE %doc Changes README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%{perl_vendorlib}/Getopt/ +%{_mandir}/man3/Getopt::Long::Descriptive.3* +%{_mandir}/man3/Getopt::Long::Descriptive::Opts.3* +%{_mandir}/man3/Getopt::Long::Descriptive::Usage.3* %changelog +* Tue Jul 12 2016 Paul Howarth - 0.100-1 +- Update to 0.100 + - Show off "shortcircuit" in synopsis + - Fix rendering of complex types ('i@' → 'INT...', etc.) +- Simplify find command using -delete +- Make %%files list more explicit +- Drop redundant %%{?perl_default_filter} + * Sun May 15 2016 Jitka Plesnikova - 0.099-5 - Perl 5.24 rebuild diff --git a/sources b/sources index 813154f..4168e03 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7e0f6e033c01a10b7e7907f1a75c0691 Getopt-Long-Descriptive-0.099.tar.gz +de219672e59bab7137d8f0e4219f41a5 Getopt-Long-Descriptive-0.100.tar.gz