From 669b7ab886f9a52b84e90aa7f57c9cc84e0aecc9 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 14 May 2025 17:47:18 +0000 Subject: [PATCH] import UBI perl-Math-BigInt-FastCalc-0.501.800-511.el10 --- .gitignore | 2 +- .perl-Math-BigInt-FastCalc.metadata | 1 - SPECS/perl-Math-BigInt-FastCalc.spec | 112 ------------- perl-Math-BigInt-FastCalc.spec | 225 +++++++++++++++++++++++++++ sources | 1 + 5 files changed, 227 insertions(+), 114 deletions(-) delete mode 100644 .perl-Math-BigInt-FastCalc.metadata delete mode 100644 SPECS/perl-Math-BigInt-FastCalc.spec create mode 100644 perl-Math-BigInt-FastCalc.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index 2df7e95..5390cb0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/Math-BigInt-FastCalc-0.5009.tar.gz +Math-BigInt-FastCalc-0.5018.tar.gz diff --git a/.perl-Math-BigInt-FastCalc.metadata b/.perl-Math-BigInt-FastCalc.metadata deleted file mode 100644 index 1a437df..0000000 --- a/.perl-Math-BigInt-FastCalc.metadata +++ /dev/null @@ -1 +0,0 @@ -45044d5f2026dbfe2b609edc089bb84ac86dc708 SOURCES/Math-BigInt-FastCalc-0.5009.tar.gz diff --git a/SPECS/perl-Math-BigInt-FastCalc.spec b/SPECS/perl-Math-BigInt-FastCalc.spec deleted file mode 100644 index 2d4de42..0000000 --- a/SPECS/perl-Math-BigInt-FastCalc.spec +++ /dev/null @@ -1,112 +0,0 @@ -Name: perl-Math-BigInt-FastCalc -%global cpan_version 0.5009 -Version: 0.500.900 -Release: 1%{?dist} -Summary: Math::BigInt::Calc with some XS for more speed -License: GPL+ or Artistic -URL: https://metacpan.org/release/Math-BigInt-FastCalc -Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-FastCalc-%{cpan_version}.tar.gz -BuildRequires: findutils -BuildRequires: gcc -BuildRequires: make -BuildRequires: perl-devel -BuildRequires: perl-generators -BuildRequires: perl-interpreter -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 -BuildRequires: perl(strict) -BuildRequires: perl(warnings) -# Run-time: -BuildRequires: perl(:VERSION) >= 5.6.0 -BuildRequires: perl(Math::BigInt::Calc) >= 1.999801 -BuildRequires: perl(XSLoader) -# Tests: -# Config::Tiny not used -# Exporter not used -# lib not used -BuildRequires: perl(Math::BigFloat) -BuildRequires: perl(Math::BigInt) >= 1.999817 -# Scalar::Util not used -# Test::CPAN::Changes 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::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)) -Conflicts: perl < 4:5.22.0-348 - -%description -This Perl module provides support for fast big integer calculations. - -%prep -%setup -q -n Math-BigInt-FastCalc-%{cpan_version} - -%build -perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" -make %{?_smp_mflags} - -%install -make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete -%{_fixperms} $RPM_BUILD_ROOT/* - -%check -unset AUTHOR_TESTING RELEASE_TESTING -make test - -%files -%license LICENSE -%doc CHANGES CREDITS README TODO -%{perl_vendorarch}/auto/* -%{perl_vendorarch}/Math* -%{_mandir}/man3/* - -%changelog -* Mon Oct 14 2019 Jitka Plesnikova - 0.500.900-1 -- 0.5009 bump - -* Fri Jul 26 2019 Fedora Release Engineering - 0.500.800-439 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu May 30 2019 Jitka Plesnikova - 0.500.800-438 -- Increase release to favour standalone package - -* Fri Feb 01 2019 Fedora Release Engineering - 0.500.800-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Oct 12 2018 Jitka Plesnikova - 0.500.800-1 -- 0.5008 bump - -* Fri Jul 13 2018 Fedora Release Engineering - 0.500.700-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Jun 27 2018 Jitka Plesnikova - 0.500.700-2 -- Perl 5.28 rebuild - -* Wed Apr 18 2018 Petr Pisar - 0.500.700-1 -- 0.5007 bump - -* Thu Feb 08 2018 Fedora Release Engineering - 0.500.600-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 0.500.600-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.500.600-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Jun 03 2017 Jitka Plesnikova - 0.500.600-3 -- Perl 5.26 rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 0.500.600-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Jan 12 2017 Petr Pisar - 0.500.600-1 -- 0.5006 bump - -* Fri Dec 23 2016 Petr Pisar 0.500.500-1 -- Specfile autogenerated by cpanspec 1.78. diff --git a/perl-Math-BigInt-FastCalc.spec b/perl-Math-BigInt-FastCalc.spec new file mode 100644 index 0000000..f1aa0c7 --- /dev/null +++ b/perl-Math-BigInt-FastCalc.spec @@ -0,0 +1,225 @@ +Name: perl-Math-BigInt-FastCalc +%global cpan_version 0.5018 +Version: 0.501.800 +Release: 511%{?dist} +Summary: Math::BigInt::Calc with some XS for more speed +License: GPL-1.0-or-later OR Artistic-1.0-Perl +URL: https://metacpan.org/release/Math-BigInt-FastCalc +Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-FastCalc-%{cpan_version}.tar.gz +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: gcc +BuildRequires: make +BuildRequires: perl-devel +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(:VERSION) >= 5.6.1 +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(Math::BigInt::Calc) >= 2.003001 +BuildRequires: perl(XSLoader) +# Tests: +BuildRequires: perl(Math::BigFloat) +BuildRequires: perl(Math::BigInt) >= 2.003001 +BuildRequires: perl(Test::More) >= 0.88 +Conflicts: perl < 4:5.22.0-348 + +# Filter modules bundled for tests +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(.::t/.*.inc\\) +%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir} + +%description +This Perl module provides support for fast big integer calculations. + +%package tests +Summary: Tests for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: perl-Test-Harness +Requires: perl(Math::BigInt) >= 2.003001 + +%description tests +Tests from %{name}. Execute them +with "%{_libexecdir}/%{name}/test". + +%prep +%setup -q -n Math-BigInt-FastCalc-%{cpan_version} + +# Remove bundled libraries +rm -r inc +perl -i -ne 'print $_ unless m{^inc/}' MANIFEST +find -type f -exec chmod -x {} + + +# Help generators to recognize Perl scripts +for F in t/*.t; do + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" + chmod +x "$F" +done + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS" +%{make_build} + +%install +%{make_install} +find %{buildroot} -type f -name '*.bs' -size 0 -delete +%{_fixperms} %{buildroot}/* + +# Install tests +mkdir -p %{buildroot}%{_libexecdir}/%{name} +cp -a t %{buildroot}%{_libexecdir}/%{name} +rm %{buildroot}%{_libexecdir}/%{name}/t/00sig.t +cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' +#!/bin/sh +cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" +EOF +chmod +x %{buildroot}%{_libexecdir}/%{name}/test + +%check +unset TEST_SIGNATURE +export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') +make test + +%files +%license LICENSE +%doc CHANGES CREDITS README TODO +%{perl_vendorarch}/auto/Math* +%{perl_vendorarch}/Math* +%{_mandir}/man3/Math::BigInt::FastCalc* + +%files tests +%{_libexecdir}/%{name} + +%changelog +* Tue Oct 29 2024 Troy Dawson - 0.501.800-511 +- Bump release for October 2024 mass rebuild: + Resolves: RHEL-64018 + +* Thu Jul 18 2024 Jitka Plesnikova - 0.501.800-510 +- Increase release to favour standalone package + +* Mon Jun 24 2024 Troy Dawson - 0.501.800-4 +- Bump release for June 2024 mass rebuild + +* Thu Jan 25 2024 Fedora Release Engineering - 0.501.800-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 0.501.800-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 08 2024 Jitka Plesnikova - 0.501.800-1 +- 0.5018 bump (rhbz#2257058) + +* Fri Jan 05 2024 Jitka Plesnikova - 0.501.700-1 +- 0.5017 bump (rhbz#2256784) + +* Tue Jan 02 2024 Jitka Plesnikova - 0.501.600-1 +- 0.5016 bump (rhbz#2255963) + +* Thu Sep 21 2023 Jitka Plesnikova - 0.501.500-1 +- 0.5015 bump (rhbz#2239928) + +* Thu Jul 20 2023 Fedora Release Engineering - 0.501.400-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jul 11 2023 Jitka Plesnikova - 0.501.400-2 +- Perl 5.38 rebuild + +* Mon Apr 03 2023 Jitka Plesnikova - 0.501.400-1 +- 0.5014 bump + +* Fri Jan 20 2023 Fedora Release Engineering - 0.501.300-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.501.300-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon May 30 2022 Jitka Plesnikova - 0.501.300-2 +- Perl 5.36 rebuild + +* Tue May 17 2022 Jitka Plesnikova - 0.501.300-1 +- 0.5013 bump + +* Fri Jan 21 2022 Fedora Release Engineering - 0.501.200-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Sep 30 2021 Jitka Plesnikova - 0.501.200-1 +- 0.5012 bump + +* Thu Sep 23 2021 Jitka Plesnikova - 0.501.100-1 +- 0.5011 bump + +* Thu Jul 22 2021 Fedora Release Engineering - 0.501.000-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jul 07 2021 Jitka Plesnikova - 0.501.000-1 +- 0.5010 bump +- Package tests + +* Fri May 21 2021 Jitka Plesnikova - 0.500.900-477 +- Increase release to favour standalone package + +* Wed Jan 27 2021 Fedora Release Engineering - 0.500.900-458 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.500.900-457 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 22 2020 Jitka Plesnikova - 0.500.900-456 +- Increase release to favour standalone package + +* Wed Feb 05 2020 Tom Stellard - 0.500.900-3 +- Spec file cleanups: Use make_build and make_install macros +- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make +- https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMake + +* Thu Jan 30 2020 Fedora Release Engineering - 0.500.900-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Oct 14 2019 Jitka Plesnikova - 0.500.900-1 +- 0.5009 bump + +* Fri Jul 26 2019 Fedora Release Engineering - 0.500.800-439 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 30 2019 Jitka Plesnikova - 0.500.800-438 +- Increase release to favour standalone package + +* Fri Feb 01 2019 Fedora Release Engineering - 0.500.800-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Oct 12 2018 Jitka Plesnikova - 0.500.800-1 +- 0.5008 bump + +* Fri Jul 13 2018 Fedora Release Engineering - 0.500.700-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jun 27 2018 Jitka Plesnikova - 0.500.700-2 +- Perl 5.28 rebuild + +* Wed Apr 18 2018 Petr Pisar - 0.500.700-1 +- 0.5007 bump + +* Thu Feb 08 2018 Fedora Release Engineering - 0.500.600-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.500.600-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.500.600-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Jun 03 2017 Jitka Plesnikova - 0.500.600-3 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.500.600-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Jan 12 2017 Petr Pisar - 0.500.600-1 +- 0.5006 bump + +* Fri Dec 23 2016 Petr Pisar 0.500.500-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources new file mode 100644 index 0000000..552333b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (Math-BigInt-FastCalc-0.5018.tar.gz) = fc85d1eedcf784e7d68b8d623ee0f8e7f33562d8a20526267b74e62834e79599bb56d8868cbf63fa61580159d78d7402de21ebd841289df67a679882cbd4bf75