You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.7 KiB
66 lines
1.7 KiB
Name: perl-Devel-OverloadInfo
|
|
Version: 0.002
|
|
Release: 3%{?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
|
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-3
|
|
- Perl 5.22 rebuild
|
|
|
|
* 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
|