@ -1,18 +1,19 @@
Name: perl-Getopt-Long-Descriptive
Name: perl-Getopt-Long-Descriptive
Summary: Getopt::Long with usage text
Summary: Getopt::Long with usage text
Version: 0.099
Version: 0.100
Release: 5 %{?dist}
Release: 1 %{?dist}
License: GPL+ or Artistic
License: GPL+ or Artistic
Group: Development/Libraries
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Getopt-Long-Descriptive-%{version}.tar.gz
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/
URL: http://search.cpan.org/dist/Getopt-Long-Descriptive/
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
BuildArch: noarch
BuildArch: noarch
# Build:
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl
BuildRequires: perl-generators
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(Carp)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Basename)
@ -21,17 +22,22 @@ BuildRequires: perl(List::Util)
BuildRequires: perl(overload)
BuildRequires: perl(overload)
BuildRequires: perl(Params::Validate) >= 0.97
BuildRequires: perl(Params::Validate) >= 0.97
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict)
BuildRequires: perl(Sub::Exporter) >= 0.972
BuildRequires: perl(Sub::Exporter) >= 0.972
BuildRequires: perl(Sub::Exporter::Util)
BuildRequires: perl(Sub::Exporter::Util)
BuildRequires: perl(warnings)
# Tests:
# Tests:
BuildRequires: perl(CPAN::Meta::Check) >= 0.011
BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Warnings) >= 0.005
BuildRequires: perl(Test::Warnings) >= 0.005
# Optional tests:
# Optional tests:
# CPAN::Meta >= 2.120900 not useful
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(Moose::Conflicts)
%{?perl_default_filter}
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
%description
Convenient wrapper for Getopt::Long and program usage output.
Convenient wrapper for Getopt::Long and program usage output.
@ -45,8 +51,8 @@ make %{?_smp_mflags}
%install
%install
make pure_install DESTDIR=%{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot}/*
%{_fixperms} %{buildroot}
%check
%check
make test
make test
@ -54,10 +60,20 @@ make test
%files
%files
%license LICENSE
%license LICENSE
%doc Changes README
%doc Changes README
%{perl_vendorlib}/*
%{perl_vendorlib}/Getopt/
%{_mandir}/man3/*
%{_mandir}/man3/Getopt::Long::Descriptive.3*
%{_mandir}/man3/Getopt::Long::Descriptive::Opts.3*
%{_mandir}/man3/Getopt::Long::Descriptive::Usage.3*
%changelog
%changelog
* Tue Jul 12 2016 Paul Howarth <paul@city-fan.org> - 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 <jplesnik@redhat.com> - 0.099-5
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.099-5
- Perl 5.24 rebuild
- Perl 5.24 rebuild