diff --git a/perl-Getopt-Long-Descriptive.spec b/perl-Getopt-Long-Descriptive.spec index 1ef8e26..6a2ecbe 100644 --- a/perl-Getopt-Long-Descriptive.spec +++ b/perl-Getopt-Long-Descriptive.spec @@ -1,6 +1,6 @@ Name: perl-Getopt-Long-Descriptive Summary: Getopt::Long with usage text -Version: 0.108 +Version: 0.109 Release: 1%{?dist} License: GPL+ or Artistic 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 # Build: BuildRequires: coreutils -BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78 # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(File::Basename) @@ -45,12 +44,11 @@ Convenient wrapper for Getopt::Long and program usage output. %setup -q -n Getopt-Long-Descriptive-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -delete +%{make_install} %{_fixperms} -c %{buildroot} %check @@ -65,6 +63,13 @@ make test %{_mandir}/man3/Getopt::Long::Descriptive::Usage.3* %changelog +* Wed Mar 17 2021 Paul Howarth - 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 - 0.108-1 - Update to 0.108 - Provide diagnostics in tests when more warnings arrive than are expected diff --git a/sources b/sources index 169a7d4..2bcef66 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Getopt-Long-Descriptive-0.108.tar.gz) = 5efab2045d05dc201c16c3b9fb5669c4cc59730e2f0920abd26304c5ae845e2d2adf35758d8ab593dbde0f7327d0e800c4c5b046e03dc93bd5d16e6619e9aba7 +SHA512 (Getopt-Long-Descriptive-0.109.tar.gz) = 9bd3af84119264c9e7e72b470f54782fe0a9e37e6071052a7b43af9529087841f77f06f81a70e4cab05380558216893b0902aabefcfbc970916f65614666969a