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