|
|
|
@ -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 <paul@city-fan.org> - 0.007-1
|
|
|
|
|
- Update to 0.007
|
|
|
|
|
- Remove dependency on Sub::Identify
|
|
|
|
|
- Use %%license unconditionally
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.005-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|