diff --git a/perl-Devel-OverloadInfo.spec b/perl-Devel-OverloadInfo.spec index f3b04ce..630c6c7 100644 --- a/perl-Devel-OverloadInfo.spec +++ b/perl-Devel-OverloadInfo.spec @@ -1,6 +1,6 @@ Name: perl-Devel-OverloadInfo -Version: 0.005 -Release: 11%{?dist} +Version: 0.007 +Release: 1%{?dist} Summary: Introspect overloaded operators License: GPL+ or Artistic URL: https://metacpan.org/release/Devel-OverloadInfo @@ -9,10 +9,14 @@ BuildArch: noarch # Module Build BuildRequires: coreutils BuildRequires: findutils +BuildRequires: gcc BuildRequires: make +BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::HasCompiler) >= 0.023 BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Text::ParseWords) # Module Runtime BuildRequires: perl(Exporter) >= 5.57 BuildRequires: perl(MRO::Compat) @@ -20,7 +24,7 @@ BuildRequires: perl(overload) BuildRequires: perl(Package::Stash) >= 0.14 BuildRequires: perl(Scalar::Util) BuildRequires: perl(strict) -BuildRequires: perl(Sub::Identify) +BuildRequires: perl(Sub::Util) >= 1.40 BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(parent) @@ -28,6 +32,7 @@ BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.88 # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Sub::Util) >= 1.40 %description Devel::OverloadInfo returns information about overloaded operators for a @@ -37,6 +42,10 @@ overloads are declared and where the code implementing it is. %prep %setup -q -n Devel-OverloadInfo-%{version} +# Remove bundled ExtUtils::HasCompiler +rm -rf inc/ +perl -ni -e 'print unless /^inc\//;' MANIFEST + %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -50,16 +59,17 @@ find %{buildroot} -type f -name .packlist -delete make test %files -%if 0%{?_licensedir:1} %license LICENSE -%else -%doc LICENSE -%endif %doc Changes README %{perl_vendorlib}/Devel/ %{_mandir}/man3/Devel::OverloadInfo.3* %changelog +* Thu Apr 29 2021 Paul Howarth - 0.007-1 +- Update to 0.007 + - Remove dependency on Sub::Identify +- Use %%license unconditionally + * Wed Jan 27 2021 Fedora Release Engineering - 0.005-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 601c6e9..1ed7da6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Devel-OverloadInfo-0.005.tar.gz) = 66ff0869ecd34b2a80e6c8052e9ba7cf396b85e25f2efa92e42447ae3164ac50f703ca4dbee38ac676b70caf19ce189a6d2a1d6322cf3af342d4edd5c0b336e7 +SHA512 (Devel-OverloadInfo-0.007.tar.gz) = 4db830d6f9edb467626213ab4d45b3e4b8fa9b3c38fad1349233f7b420d08be42833e57daa9a8076f4127cafba92f4cfc177ca33bd19cf2a582b644ac1ae7d72