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