@ -6,8 +6,8 @@
%endif
Name: perl-Devel-Declare
Version: 0.006019
Release: 16 %{?dist}
Version: 0.006022
Release: 1%{?dist}
Summary: Adding keywords to perl, in perl
License: GPL+ or Artistic
URL: https://metacpan.org/release/Devel-Declare
@ -21,7 +21,7 @@ BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::Depends)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Module Runtime
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.05
BuildRequires: perl(B::Hooks::OP::Check) >= 0.19
@ -32,7 +32,6 @@ BuildRequires: perl(DynaLoader)
BuildRequires: perl(Scalar::Util) >= 1.11
BuildRequires: perl(strict)
BuildRequires: perl(Sub::Name)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl-debugger
@ -69,12 +68,15 @@ include Devel::CallParser, Function::Parameters, and Keyword::Simple.
%setup -q -n Devel-Declare-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
perl Makefile.PL \
INSTALLDIRS=vendor \
OPTIMIZE="%{optflags}" \
NO_PACKLIST=1 \
NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{make_install}
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot}
@ -82,12 +84,20 @@ find %{buildroot} -type f -name '*.bs' -empty -delete
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorarch}/auto/Devel/
%{perl_vendorarch}/Devel/
%{_mandir}/man3/Devel::Declare.3*
%changelog
* Sun Apr 26 2020 Paul Howarth <paul@city-fan.org> - 0.006022-1
- Update to 0.006022
- Use ppport.h for compatibility with earlier perls
- Update to work with Perl 5.31.7 (GH#1)
- Use %%{make_build} and %%{make_install}
- Package LICENSE file
* Tue Mar 10 2020 Paul Howarth <paul@city-fan.org> - 0.006019-16
- BR: perl-debugger for t/debug.t