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