9af592e
Name:		perl-Devel-OverloadInfo
a81978b
Version:	0.004
efa1701
Release:	1%{?dist}
9af592e
Summary:	Introspect overloaded operators
9af592e
License:	GPL+ or Artistic
9af592e
URL:		http://search.cpan.org/dist/Devel-OverloadInfo/
9af592e
Source0:	http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI/Devel-OverloadInfo-%{version}.tar.gz
9af592e
BuildArch:	noarch
9af592e
# Module Build
efa1701
BuildRequires:	coreutils
efa1701
BuildRequires:	findutils
efa1701
BuildRequires:	make
9af592e
BuildRequires:	perl
efa1701
BuildRequires:	perl(ExtUtils::MakeMaker)
9af592e
# Module Runtime
9af592e
BuildRequires:	perl(Exporter) >= 5.57
9af592e
BuildRequires:	perl(MRO::Compat)
9af592e
BuildRequires:	perl(overload)
9af592e
BuildRequires:	perl(Package::Stash) >= 0.14
9af592e
BuildRequires:	perl(Scalar::Util)
9af592e
BuildRequires:	perl(strict)
9af592e
BuildRequires:	perl(Sub::Identify)
9af592e
BuildRequires:	perl(warnings)
9af592e
# Test Suite
efa1701
BuildRequires:	perl(base)
9af592e
BuildRequires:	perl(parent)
efa1701
BuildRequires:	perl(Test::Fatal)
9af592e
BuildRequires:	perl(Test::More) >= 0.88
9af592e
# Runtime
9af592e
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
9af592e
9af592e
%description
9af592e
Devel::OverloadInfo returns information about overloaded operators for a
9af592e
given class (or object), including where in the inheritance hierarchy the
9af592e
overloads are declared and where the code implementing it is.
9af592e
9af592e
%prep
9af592e
%setup -q -n Devel-OverloadInfo-%{version}
9af592e
9af592e
%build
9af592e
perl Makefile.PL INSTALLDIRS=vendor
9af592e
make %{?_smp_mflags}
9af592e
9af592e
%install
9af592e
make pure_install DESTDIR=%{buildroot}
9af592e
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
9af592e
%{_fixperms} %{buildroot}
9af592e
9af592e
%check
9af592e
make test
9af592e
9af592e
%files
9af592e
%if 0%{?_licensedir:1}
9af592e
%license LICENSE
9af592e
%else
9af592e
%doc LICENSE
9af592e
%endif
9af592e
%doc Changes README
9af592e
%{perl_vendorlib}/Devel/
9af592e
%{_mandir}/man3/Devel::OverloadInfo.3*
9af592e
9af592e
%changelog
a81978b
* Fri Aug 14 2015 Paul Howarth <paul@city-fan.org> - 0.004-1
a81978b
- Update to 0.004
a81978b
  - Document that existence of undef 'fallback' varies between perl versions
a81978b
  - Add tests for empty, inherited-only and no overloading
a81978b
  - Add is_overloaded() function
a81978b
efa1701
* Thu Aug 13 2015 Paul Howarth <paul@city-fan.org> - 0.003-1
efa1701
- Update to 0.003
efa1701
  - Return an empty hash instead of undef for classes with no overloads
efa1701
  - Work around overload inheritance corruption before 5.16 (CPAN RT#106379)
efa1701
3983dd8
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.002-4
3983dd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3983dd8
ec739bb
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-3
ec739bb
- Perl 5.22 rebuild
ec739bb
9af592e
* Fri Nov  7 2014 Paul Howarth <paul@city-fan.org> - 0.002-2
9af592e
- Sanitize for Fedora submission
9af592e
9af592e
* Mon Nov  3 2014 Paul Howarth <paul@city-fan.org> - 0.002-1
9af592e
- Initial RPM version