Compare commits

...

25 Commits
f34 ... rawhide

Author SHA1 Message Date
Fedora Release Engineering
5ebe5a1763 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 07:44:21 +00:00
Jitka Plesnikova
a8f6337df8 1.999837 bump 2022-07-11 09:48:02 +02:00
Jitka Plesnikova
f34b9ccbce 1.999836 bump 2022-06-27 10:33:15 +02:00
Jitka Plesnikova
4f49476a03 Perl 5.36 re-rebuild of bootstrapped packages 2022-06-03 13:08:33 +02:00
Jitka Plesnikova
bbf3e0e90a Perl 5.36 rebuild 2022-05-30 16:41:13 +02:00
Jitka Plesnikova
9432cba3e1 1.999835 bump 2022-05-24 15:32:11 +02:00
Jitka Plesnikova
d562d3e4dc 1.999833 bump 2022-05-23 22:17:05 +02:00
Jitka Plesnikova
2d632fcb2c 1.999832 bump 2022-05-23 00:29:25 +02:00
Jitka Plesnikova
07500d3008 1.999831 bump 2022-05-16 16:51:04 +02:00
Jitka Plesnikova
6797b48873 1.999830 bump 2022-04-13 16:03:54 +02:00
Fedora Release Engineering
f61f3d406f - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 03:10:23 +00:00
Jitka Plesnikova
7477abc370 1.999829 bump 2022-01-05 10:33:11 +01:00
Jitka Plesnikova
9c7aa0667d 1.999828 bump 2021-12-20 10:37:29 +01:00
Jitka Plesnikova
8449099b10 1.999827 bump 2021-10-03 20:13:45 +02:00
Jitka Plesnikova
c14afec149 Add BR perl(Scalar::Util) 2021-09-30 08:35:06 +02:00
Michal Josef Špaček
3c5ac2b643 1.999825 bump 2021-09-29 20:10:59 +02:00
Jitka Plesnikova
5a9817d58f 1.999824 bump 2021-09-22 13:51:30 +02:00
Fedora Release Engineering
af59bfaca4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 21:46:15 +00:00
Jitka Plesnikova
6b9722f881 1.999823 bump 2021-07-13 11:54:43 +02:00
Jitka Plesnikova
063e090937 1.999822 bump 2021-07-12 10:10:10 +02:00
Jitka Plesnikova
aec6df7f22 Filter bundled modules 2021-07-07 18:52:43 +02:00
Jitka Plesnikova
12bb0c8746 Filter tests provides 2021-07-07 17:08:14 +02:00
Jitka Plesnikova
7cbb98114e Package tests 2021-07-07 16:17:00 +02:00
Jitka Plesnikova
3e326113d7 1.999821 bump 2021-07-07 15:28:29 +02:00
Jitka Plesnikova
c8d869535a Increase release to favour standalone package 2021-05-21 09:59:01 +02:00
7 changed files with 147 additions and 18 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

15
.gitignore vendored
View File

@ -31,3 +31,18 @@
/Math-BigInt-1.999816.tar.gz
/Math-BigInt-1.999817.tar.gz
/Math-BigInt-1.999818.tar.gz
/Math-BigInt-1.999821.tar.gz
/Math-BigInt-1.999822.tar.gz
/Math-BigInt-1.999823.tar.gz
/Math-BigInt-1.999824.tar.gz
/Math-BigInt-1.999825.tar.gz
/Math-BigInt-1.999827.tar.gz
/Math-BigInt-1.999828.tar.gz
/Math-BigInt-1.999829.tar.gz
/Math-BigInt-1.999830.tar.gz
/Math-BigInt-1.999831.tar.gz
/Math-BigInt-1.999832.tar.gz
/Math-BigInt-1.999833.tar.gz
/Math-BigInt-1.999835.tar.gz
/Math-BigInt-1.999836.tar.gz
/Math-BigInt-1.999837.tar.gz

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

View File

@ -1,69 +1,99 @@
Name: perl-Math-BigInt
Epoch: 1
%global cpan_version 1.999818
%global cpan_version 1.999837
# Keep 4-digit version to compete with perl.spec
Version: %(echo %{cpan_version} | sed 's/\(\.....\)/\1./')
Release: 458%{?dist}
Release: 2%{?dist}
Summary: Arbitrary-size integer and float mathematics
License: GPL+ or Artistic
URL: https://metacpan.org/release/Math-BigInt
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: sed
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(Carp) >= 1.22
BuildRequires: perl(constant)
BuildRequires: perl(Exporter)
# File::Spec not used on recent perl
BuildRequires: perl(integer)
BuildRequires: perl(Math::Complex) >= 1.39
# Math::BigRat not used for tests
BuildRequires: perl(overload)
BuildRequires: perl(Scalar::Util)
# Tests:
BuildRequires: perl(base)
BuildRequires: perl(Config)
# Config::Tiny not used
BuildRequires: perl(lib)
# Module::Signature not used
# Scalar::Util not used
# Socket not used
# Test::CPAN::Changes not used
BuildRequires: perl(Test::More) >= 0.94
# Optional tests:
# This core module must be buildable without non-core modules at bootstrap.
# Test::Pod 1.22 not used
# Test::Pod::Coverage 1.08 not used
# Test::Portability::Files not used
# Test::Whitespaces not used
# Pod::Coverage 0.18 not used
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp) >= 1.22
Requires: perl(Math::Complex) >= 1.39
%if !%{defined perl_bootstrap}
Requires: perl(Math::BigRat)
%endif
Conflicts: perl < 4:5.22.0-347
# Do not export unversioned module
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Math::BigInt\\)\\s*$
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Carp\\)\\s*$
# Filter modules bundled for tests
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(.::t/.*.inc\\)
%global __requires_exclude %{__requires_exclude}|perl\\(Math::BigFloat::Subclass\\)
%global __requires_exclude %{__requires_exclude}|perl\\(Math::BigInt::(BareCalc\|Scalar\|Subclass)\\)
%global __requires_exclude %{__requires_exclude}|perl\\(Math::BigInt::Lib::(Minimal\|TestUtil)\\)
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
%description
This provides Perl modules for arbitrary-size integer and float mathematics.
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep
%setup -q -n Math-BigInt-%{cpan_version}
# Help generators to recognize Perl scripts
for F in t/*.t t/alias.inc `find t -name *.pm`; 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
%{make_build}
%install
%{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'
#!/bin/sh
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check
unset AUTHOR_TESTING 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
%files
@ -73,7 +103,74 @@ make test
%{perl_vendorlib}/*
%{_mandir}/man3/*
%files tests
%{_libexecdir}/%{name}
%changelog
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.37-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jul 11 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.37-1
- 1.999837 bump
* Mon Jun 27 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.36-1
- 1.999836 bump
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.35-3
- Perl 5.36 re-rebuild of bootstrapped packages
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.35-2
- Perl 5.36 rebuild
* Tue May 24 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.35-1
- 1.999835 bump
* Mon May 23 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.33-1
- 1.999833 bump
* Sun May 22 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.32-1
- 1.999832 bump
* Mon May 16 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.31-1
- 1.999831 bump
* Wed Apr 13 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.30-1
- 1.999830 bump
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.29-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jan 05 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.29-1
- 1.999829 bump
* Mon Dec 20 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.28-1
- 1.999828 bump
* Sun Oct 03 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.27-1
- 1.999827 bump
* Wed Sep 29 2021 Michal Josef Špaček <mspacek@redhat.com> - 1:1.9998.25-1
- 1.999825 bump
* Wed Sep 22 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.24-1
- 1.999824 bump
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.23-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jul 13 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.23-1
- 1.999823 bump
* Mon Jul 12 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.22-1
- 1.999822 bump
* Wed Jul 07 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.21-1
- 1.999821 bump
- Package tests
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.18-477
- Increase release to favour standalone package
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.18-458
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

5
plans/sanity.fmf Normal file
View File

@ -0,0 +1,5 @@
summary: Sanity tests
discover:
how: fmf
execute:
how: tmt

View File

@ -1 +1 @@
SHA512 (Math-BigInt-1.999818.tar.gz) = 75234eab0ec99a7412a25cf5c60543f1ea0aa35107e4fca49d80871e5d055c4820968a0ee4fe0ff48dd73b8ca122864b5d26964a932a9cc7b296a1356fac7966
SHA512 (Math-BigInt-1.999837.tar.gz) = b548c94ab94fd835ec10924702208ddcf9c9fea401c852937f84421727b7bcb7fc02ffa38b677a8b472ba8039eec2e94f08ffc6199c0e59ff87654d7719610d1

4
tests/upstream-tests.fmf Normal file
View File

@ -0,0 +1,4 @@
summary: Upstream tests
component: perl-Math-BigInt
require: perl-Math-BigInt-tests
test: /usr/libexec/perl-Math-BigInt/test