Compare commits

..

No commits in common. 'c9' and 'i10c-beta' have entirely different histories.

2
.gitignore vendored

@ -1 +1 @@
SOURCES/bignum-0.51.tar.gz SOURCES/bignum-0.67.tar.gz

@ -1 +1 @@
0da08cede1dc29e404faa9b438092f3938aa385e SOURCES/bignum-0.51.tar.gz 8760abcef4af1de46b6ae7459d1df3702bb67516 SOURCES/bignum-0.67.tar.gz

@ -1,66 +1,101 @@
Name: perl-bignum Name: perl-bignum
Version: 0.51 Version: 0.67
Release: 460%{?dist} Release: 511%{?dist}
Summary: Transparent big number support for Perl Summary: Transparent big number support for Perl
License: GPL+ or Artistic License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/bignum URL: https://metacpan.org/release/bignum
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/bignum-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/bignum-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make BuildRequires: make
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Run-time: # Run-time:
BuildRequires: perl(:VERSION) >= 5.10 BuildRequires: perl(:VERSION) >= 5.10
BuildRequires: perl(Carp) BuildRequires: perl(Carp) >= 1.22
BuildRequires: perl(constant) BuildRequires: perl(constant)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(Math::BigFloat) BuildRequires: perl(Math::BigFloat)
BuildRequires: perl(Math::BigInt) >= 1.999812 BuildRequires: perl(Math::BigInt) >= 1.999830
BuildRequires: perl(Math::BigRat) >= 0.12 BuildRequires: perl(Math::BigRat) >= 0.2623
BuildRequires: perl(overload) BuildRequires: perl(overload)
# Optional run-time: # Optional run-time:
# Math::BigInt::Lite not packaged # Math::BigInt::Lite not packaged
# Tests: # Tests:
# Algorithm::Combinatorics not used
BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::More) >= 0.88
# Test::Version not used
# Optional tests: # Optional tests:
%if !%{defined perl_bootstrap}
# Module::Signature not used and not helpful # Module::Signature not used and not helpful
# Pod::Coverage 0.18 not used BuildRequires: perl(Math::BigInt::GMP)
# Math::BigInt::Pari not package yet
# Socket not used # Socket not used
# Test::CPAN::Changes not used %endif
# Test::Pod 1.22 not used Requires: perl(Carp) >= 1.22
# Test::Pod::Coverage 1.08 not used Requires: perl(Math::BigInt) >= 1.999830
# Test::Portability::Files not used Requires: perl(Math::BigRat) >= 0.2623
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 Conflicts: perl < 4:5.22.0-348
# Remove under-specified dependencies # Remove under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Math::BigInt\\)$ %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Math::BigInt\\)$
%global __requires_exclude %{__requires_exclude}|^perl\\(Math::BigRat\\)$
%global __requires_exclude %{__requires_exclude}|^perl\\(Carp\\)$
%description %description
This package attempts to make it easier to write scripts that use BigInts and This package attempts to make it easier to write scripts that use BigInts and
BigFloats in a transparent way. BigFloats in a transparent way.
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
%if !%{defined perl_bootstrap}
Requires: perl(Math::BigInt::GMP)
%endif
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep %prep
%setup -q -n bignum-%{version} %setup -q -n bignum-%{version}
# Correct shebangs and permission
for F in lib/Math/BigInt/Trace.pm lib/Math/BigFloat/Trace.pm; do
perl -MConfig -pi -e 's{\A#!.*perl\b}{$Config{startperl}}' "$F"
chmod -x "$F"
done
# 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 %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags} %{make_build}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT %{make_install}
%{_fixperms} $RPM_BUILD_ROOT/* %{_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'
#!/usr/bin/sh
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check %check
unset RELEASE_TESTING 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 make test
%files %files
@ -69,13 +104,92 @@ make test
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_mandir}/man3/* %{_mandir}/man3/*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.51-460 * Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.67-511
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for MSVSphere 10
Related: rhbz#1991688
* Fri Aug 09 2024 Jitka Plesnikova <jplesnik@redhat.com> - 0.67-511
- Perl 5.40 re-rebuild of bootstrapped packages
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 0.67-510
- Increase release to favour standalone package
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.67-4
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.67-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.67-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Jan 02 2024 Jitka Plesnikova <jplesnik@redhat.com> - 0.67-1
- 0.67 bump (rhbz#2256265)
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.66-501
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jul 12 2023 Jitka Plesnikova <jplesnik@redhat.com> - 0.66-500
- Perl 5.38 re-rebuild of bootstrapped packages
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 0.66-499
- Increase release to favour standalone package
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.66-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.51-459 * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.66-5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.66-4
- Perl 5.36 re-rebuild of bootstrapped packages
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.66-3
- Perl 5.36 rebuild
* Mon May 23 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.66-2
- Don't run optional tests, if we're bootstrapping
* Mon May 16 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.66-1
- 0.66 bump
* Wed Apr 13 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.65-1
- 0.65 bump
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.64-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Jan 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.64-1
- 0.64 bump
* Sun Oct 10 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.63-1
- 0.63 bump
* Sun Oct 03 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.62-1
- 0.62 bump
* Thu Sep 30 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.60-1
- 0.60 bump
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.53-2
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jul 13 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.53-1
- 0.53 bump
* Mon Jul 12 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.52-2
- Fix permission of */Trace.pm
* Mon Jul 12 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.52-1
- 0.52 bump
- Package tests
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.51-477
- Increase release to favour standalone package
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.51-458 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.51-458
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save