d66a87
Name:           perl-Math-BigRat
d66a87
# Keep 4-digit version to compete with perl.spec
d66a87
Version:        0.2614
d66a87
Release:        460%{?dist}
d66a87
Summary:        Arbitrary big rational numbers
d66a87
License:        GPL+ or Artistic
d66a87
URL:            https://metacpan.org/release/Math-BigRat
d66a87
Source0:        https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigRat-%{version}.tar.gz
d66a87
BuildArch:      noarch
d66a87
BuildRequires:  findutils
d66a87
BuildRequires:  make
d66a87
BuildRequires:  perl-generators
d66a87
BuildRequires:  perl-interpreter
d66a87
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
d66a87
BuildRequires:  perl(strict)
d66a87
BuildRequires:  perl(warnings)
d66a87
# Run-time:
d66a87
BuildRequires:  perl(:VERSION) >= 5.6.0
d66a87
BuildRequires:  perl(Carp)
d66a87
BuildRequires:  perl(Math::BigFloat)
d66a87
BuildRequires:  perl(Math::BigInt) >= 1.999718
d66a87
BuildRequires:  perl(overload)
d66a87
# Tests:
d66a87
BuildRequires:  perl(Exporter)
d66a87
BuildRequires:  perl(lib)
d66a87
# Math::Complex not used
d66a87
# Scalar::Util not used
d66a87
# Test::CPAN::Changes not used
d66a87
BuildRequires:  perl(Test::More) >= 0.88
d66a87
# Test::Version not used
d66a87
# Optional tests:
d66a87
# Module::Signature not used and not helpful
d66a87
# Pod::Coverage 0.18 not used
d66a87
# Socket not used
d66a87
# Test::Pod 1.22 not used
d66a87
# Test::Pod::Coverage 1.08 not used
d66a87
# Test::Portability::Files not used
d66a87
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
d66a87
Requires:       perl(Math::BigInt) >= 1.999718
d66a87
Conflicts:      perl < 4:5.22.0-348
d66a87
d66a87
%description
d66a87
Math::BigRat complements Math::BigInt and Math::BigFloat by providing
d66a87
support for arbitrary big rational numbers.
d66a87
d66a87
%prep
d66a87
%setup -q -n Math-BigRat-%{version}
d66a87
d66a87
%build
d66a87
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
d66a87
make %{?_smp_mflags}
d66a87
d66a87
%install
d66a87
make pure_install DESTDIR=$RPM_BUILD_ROOT
d66a87
%{_fixperms} $RPM_BUILD_ROOT/*
d66a87
d66a87
%check
d66a87
unset RELEASE_TESTING
d66a87
make test
d66a87
d66a87
%files
d66a87
%license LICENSE
d66a87
%doc BUGS CHANGES README TODO
d66a87
%{perl_vendorlib}/*
d66a87
%{_mandir}/man3/*
d66a87
d66a87
%changelog
d66a87
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.2614-460
d66a87
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
d66a87
  Related: rhbz#1991688
d66a87
d66a87
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.2614-459
d66a87
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
d66a87
d66a87
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2614-458
d66a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d66a87
d66a87
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2614-457
d66a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d66a87
d66a87
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.2614-456
d66a87
- Increase release to favour standalone package
d66a87
d66a87
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2614-440
d66a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
d66a87
d66a87
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2614-439
d66a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d66a87
d66a87
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.2614-438
d66a87
- Increase release to favour standalone package
d66a87
d66a87
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2614-4
d66a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d66a87
d66a87
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2614-3
d66a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d66a87
d66a87
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.2614-2
d66a87
- Perl 5.28 rebuild
d66a87
d66a87
* Wed Apr 18 2018 Petr Pisar <ppisar@redhat.com> - 0.2614-1
d66a87
- 0.2614 bump
d66a87
d66a87
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2613-3
d66a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d66a87
d66a87
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2613-2
d66a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d66a87
d66a87
* Mon Jun 19 2017 Petr Pisar <ppisar@redhat.com> - 0.2613-1
d66a87
- 0.2613 bump
d66a87
d66a87
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.2612-2
d66a87
- Perl 5.26 rebuild
d66a87
d66a87
* Thu Mar 02 2017 Petr Pisar <ppisar@redhat.com> - 0.2612-1
d66a87
- 0.2612 bump
d66a87
d66a87
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2611-2
d66a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d66a87
d66a87
* Fri Dec 23 2016 Petr Pisar <ppisar@redhat.com> 0.2611-1
d66a87
- Specfile autogenerated by cpanspec 1.78.