@ -1,6 +1,6 @@
Name: perl-Getopt-Long-Descriptive
Name: perl-Getopt-Long-Descriptive
Summary: Getopt::Long with usage text
Summary: Getopt::Long with usage text
Version: 0.108
Version: 0.109
Release: 1%{?dist}
Release: 1%{?dist}
License: GPL+ or Artistic
License: GPL+ or Artistic
URL: https://metacpan.org/release/Getopt-Long-Descriptive
URL: https://metacpan.org/release/Getopt-Long-Descriptive
@ -8,11 +8,10 @@ Source0: https://cpan.metacpan.org/modules/by-module/Getopt/Getopt-Long-D
BuildArch: noarch
BuildArch: noarch
# Build:
# Build:
BuildRequires: coreutils
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
# Run-time:
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(Carp)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Basename)
@ -45,12 +44,11 @@ Convenient wrapper for Getopt::Long and program usage output.
%setup -q -n Getopt-Long-Descriptive-%{version}
%setup -q -n Getopt-Long-Descriptive-%{version}
%build
%build
perl Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags }
%{make_build }
%install
%install
make pure_install DESTDIR=%{buildroot}
%{make_install}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%{_fixperms} -c %{buildroot}
%check
%check
@ -65,6 +63,13 @@ make test
%{_mandir}/man3/Getopt::Long::Descriptive::Usage.3*
%{_mandir}/man3/Getopt::Long::Descriptive::Usage.3*
%changelog
%changelog
* Wed Mar 17 2021 Paul Howarth <paul@city-fan.org> - 0.109-1
- Update to 0.109
- Eliminate warnings-count failure by requiring an ExtUtils::MakeMaker from
late 2013 or later; without this, very old EUMM could pass -w to the tests,
enabling more warnings than we wanted
- Use %%{make_build} and %%{make_install}
* Tue Mar 16 2021 Paul Howarth <paul@city-fan.org> - 0.108-1
* Tue Mar 16 2021 Paul Howarth <paul@city-fan.org> - 0.108-1
- Update to 0.108
- Update to 0.108
- Provide diagnostics in tests when more warnings arrive than are expected
- Provide diagnostics in tests when more warnings arrive than are expected