Devel::OverloadInfo returns information about overloaded operators for a given class (or object), including where in the inheritance hierarchy the overloads are declared and where the code implementing it is.epel9
parent
73f926c1ca
commit
9af592e986
@ -0,0 +1 @@
|
|||||||
|
/Devel-OverloadInfo-[0-9.]*.tar.gz
|
@ -0,0 +1,62 @@
|
|||||||
|
Name: perl-Devel-OverloadInfo
|
||||||
|
Version: 0.002
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: Introspect overloaded operators
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: http://search.cpan.org/dist/Devel-OverloadInfo/
|
||||||
|
Source0: http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI/Devel-OverloadInfo-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
# Module Build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||||||
|
# Module Runtime
|
||||||
|
BuildRequires: perl(Exporter) >= 5.57
|
||||||
|
BuildRequires: perl(MRO::Compat)
|
||||||
|
BuildRequires: perl(overload)
|
||||||
|
BuildRequires: perl(Package::Stash) >= 0.14
|
||||||
|
BuildRequires: perl(Scalar::Util)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(Sub::Identify)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
# Test Suite
|
||||||
|
BuildRequires: perl(parent)
|
||||||
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
|
# Runtime
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
Devel::OverloadInfo returns information about overloaded operators for a
|
||||||
|
given class (or object), including where in the inheritance hierarchy the
|
||||||
|
overloads are declared and where the code implementing it is.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Devel-OverloadInfo-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||||
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
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
|
||||||
|
* Fri Nov 7 2014 Paul Howarth <paul@city-fan.org> - 0.002-2
|
||||||
|
- Sanitize for Fedora submission
|
||||||
|
|
||||||
|
* Mon Nov 3 2014 Paul Howarth <paul@city-fan.org> - 0.002-1
|
||||||
|
- Initial RPM version
|
Loading…
Reference in new issue