diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..355eccd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/bignum-0.51.tar.gz diff --git a/.perl-bignum.metadata b/.perl-bignum.metadata new file mode 100644 index 0000000..face322 --- /dev/null +++ b/.perl-bignum.metadata @@ -0,0 +1 @@ +0da08cede1dc29e404faa9b438092f3938aa385e SOURCES/bignum-0.51.tar.gz diff --git a/SPECS/perl-bignum.spec b/SPECS/perl-bignum.spec new file mode 100644 index 0000000..6fbc92a --- /dev/null +++ b/SPECS/perl-bignum.spec @@ -0,0 +1,132 @@ +Name: perl-bignum +Version: 0.51 +Release: 460%{?dist} +Summary: Transparent big number support for Perl +License: GPL+ or Artistic +URL: https://metacpan.org/release/bignum +Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/bignum-%{version}.tar.gz +BuildArch: noarch +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(:VERSION) >= 5.10 +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) +BuildRequires: perl(Math::BigFloat) +BuildRequires: perl(Math::BigInt) >= 1.999812 +BuildRequires: perl(Math::BigRat) >= 0.12 +BuildRequires: perl(overload) +# Optional run-time: +# Math::BigInt::Lite not packaged +# Tests: +# Algorithm::Combinatorics not used +BuildRequires: perl(Test::More) >= 0.88 +# Test::Version not used +# Optional tests: +# Module::Signature not used and not helpful +# Pod::Coverage 0.18 not used +# Socket not used +# Test::CPAN::Changes not used +# Test::Pod 1.22 not used +# Test::Pod::Coverage 1.08 not used +# Test::Portability::Files not used +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) +Requires: perl(Math::BigInt) >= 1.999812 +Requires: perl(Math::BigRat) >= 0.12 +Conflicts: perl < 4:5.22.0-348 + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Math::BigInt\\)$ + +%description +This package attempts to make it easier to write scripts that use BigInts and +BigFloats in a transparent way. + +%prep +%setup -q -n bignum-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +unset RELEASE_TESTING +make test + +%files +%license LICENSE +%doc BUGS CHANGES README TODO +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 0.51-460 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 0.51-459 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.51-458 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.51-457 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 22 2020 Jitka Plesnikova - 0.51-456 +- Increase release to favour standalone package + +* Thu Jan 30 2020 Fedora Release Engineering - 0.51-440 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.51-439 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 30 2019 Jitka Plesnikova - 0.51-438 +- Increase release to favour standalone package + +* Sat Feb 02 2019 Fedora Release Engineering - 0.51-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Oct 12 2018 Jitka Plesnikova - 0.51-1 +- 0.51 bump + +* Fri Jul 13 2018 Fedora Release Engineering - 0.50-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jun 27 2018 Jitka Plesnikova - 0.50-2 +- Perl 5.28 rebuild + +* Wed Apr 18 2018 Petr Pisar - 0.50-1 +- 0.50 bump + +* Fri Feb 09 2018 Fedora Release Engineering - 0.49-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Feb 05 2018 Petr Pisar - 0.49-1 +- 0.49 bump + +* Fri Feb 02 2018 Petr Pisar - 0.48-1 +- 0.48 bump + +* Thu Jul 27 2017 Fedora Release Engineering - 0.47-394 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Jun 03 2017 Jitka Plesnikova - 0.47-393 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.47-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Dec 23 2016 Petr Pisar 0.47-1 +- Specfile autogenerated by cpanspec 1.78.