Compare commits
25 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
5ebe5a1763 | ||
|
a8f6337df8 | ||
|
f34b9ccbce | ||
|
4f49476a03 | ||
|
bbf3e0e90a | ||
|
9432cba3e1 | ||
|
d562d3e4dc | ||
|
2d632fcb2c | ||
|
07500d3008 | ||
|
6797b48873 | ||
|
f61f3d406f | ||
|
7477abc370 | ||
|
9c7aa0667d | ||
|
8449099b10 | ||
|
c14afec149 | ||
|
3c5ac2b643 | ||
|
5a9817d58f | ||
|
af59bfaca4 | ||
|
6b9722f881 | ||
|
063e090937 | ||
|
aec6df7f22 | ||
|
12bb0c8746 | ||
|
7cbb98114e | ||
|
3e326113d7 | ||
|
c8d869535a |
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
15
.gitignore
vendored
15
.gitignore
vendored
@ -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
7
gating.yaml
Normal 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}
|
@ -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
5
plans/sanity.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Sanity tests
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
2
sources
2
sources
@ -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
4
tests/upstream-tests.fmf
Normal file
@ -0,0 +1,4 @@
|
||||
summary: Upstream tests
|
||||
component: perl-Math-BigInt
|
||||
require: perl-Math-BigInt-tests
|
||||
test: /usr/libexec/perl-Math-BigInt/test
|
Loading…
Reference in New Issue
Block a user