7a034b
Name:           perl-Math-BigRat
7a034b
# Keep 4-digit version to compete with perl.spec
7a034b
Version:        0.2614
7a034b
Release:        2%{?dist}
7a034b
Summary:        Arbitrary big rational numbers
7a034b
License:        GPL+ or Artistic
7a034b
URL:            http://search.cpan.org/dist/Math-BigRat/
7a034b
Source0:        http://www.cpan.org/authors/id/P/PJ/PJACKLAM/Math-BigRat-%{version}.tar.gz
7a034b
BuildArch:      noarch
7a034b
BuildRequires:  findutils
7a034b
BuildRequires:  make
7a034b
BuildRequires:  perl-generators
7a034b
BuildRequires:  perl-interpreter
7a034b
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
7a034b
BuildRequires:  perl(strict)
7a034b
BuildRequires:  perl(warnings)
7a034b
# Run-time:
7a034b
BuildRequires:  perl(:VERSION) >= 5.6.0
7a034b
BuildRequires:  perl(Carp)
7a034b
BuildRequires:  perl(Math::BigFloat)
7a034b
BuildRequires:  perl(Math::BigInt) >= 1.999718
7a034b
BuildRequires:  perl(overload)
7a034b
# Tests:
7a034b
BuildRequires:  perl(Exporter)
7a034b
BuildRequires:  perl(lib)
7a034b
# Math::Complex not used
7a034b
# Scalar::Util not used
7a034b
# Test::CPAN::Changes not used
7a034b
BuildRequires:  perl(Test::More) >= 0.88
7a034b
# Test::Version not used
7a034b
# Optional tests:
7a034b
# Module::Signature not used and not helpful
7a034b
# Pod::Coverage 0.18 not used
7a034b
# Socket not used
7a034b
# Test::Pod 1.22 not used
7a034b
# Test::Pod::Coverage 1.08 not used
7a034b
# Test::Portability::Files not used
7a034b
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
7a034b
Requires:       perl(Math::BigInt) >= 1.999718
7a034b
Conflicts:      perl < 4:5.22.0-348
7a034b
7a034b
%description
7a034b
Math::BigRat complements Math::BigInt and Math::BigFloat by providing
7a034b
support for arbitrary big rational numbers.
7a034b
7a034b
%prep
7a034b
%setup -q -n Math-BigRat-%{version}
7a034b
7a034b
%build
7a034b
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
7a034b
make %{?_smp_mflags}
7a034b
7a034b
%install
7a034b
make pure_install DESTDIR=$RPM_BUILD_ROOT
7a034b
%{_fixperms} $RPM_BUILD_ROOT/*
7a034b
7a034b
%check
7a034b
unset RELEASE_TESTING
7a034b
make test
7a034b
7a034b
%files
7a034b
%license LICENSE
7a034b
%doc BUGS CHANGES README TODO
7a034b
%{perl_vendorlib}/*
7a034b
%{_mandir}/man3/*
7a034b
7a034b
%changelog
7a034b
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.2614-2
7a034b
- Rebuild with enable hardening (bug #1636329)
7a034b
7a034b
* Wed Apr 18 2018 Petr Pisar <ppisar@redhat.com> - 0.2614-1
7a034b
- 0.2614 bump
7a034b
7a034b
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2613-3
7a034b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7a034b
7a034b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2613-2
7a034b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7a034b
7a034b
* Mon Jun 19 2017 Petr Pisar <ppisar@redhat.com> - 0.2613-1
7a034b
- 0.2613 bump
7a034b
7a034b
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.2612-2
7a034b
- Perl 5.26 rebuild
7a034b
7a034b
* Thu Mar 02 2017 Petr Pisar <ppisar@redhat.com> - 0.2612-1
7a034b
- 0.2612 bump
7a034b
7a034b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2611-2
7a034b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7a034b
7a034b
* Fri Dec 23 2016 Petr Pisar <ppisar@redhat.com> 0.2611-1
7a034b
- Specfile autogenerated by cpanspec 1.78.