Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
050ee2e060 |
@ -1 +0,0 @@
|
|||||||
1
|
|
34
.gitignore
vendored
34
.gitignore
vendored
@ -12,37 +12,3 @@
|
|||||||
/Math-BigInt-1.999724.tar.gz
|
/Math-BigInt-1.999724.tar.gz
|
||||||
/Math-BigInt-1.999726.tar.gz
|
/Math-BigInt-1.999726.tar.gz
|
||||||
/Math-BigInt-1.999727.tar.gz
|
/Math-BigInt-1.999727.tar.gz
|
||||||
/Math-BigInt-1.999800.tar.gz
|
|
||||||
/Math-BigInt-1.999801.tar.gz
|
|
||||||
/Math-BigInt-1.999802.tar.gz
|
|
||||||
/Math-BigInt-1.999803.tar.gz
|
|
||||||
/Math-BigInt-1.999804.tar.gz
|
|
||||||
/Math-BigInt-1.999805.tar.gz
|
|
||||||
/Math-BigInt-1.999806.tar.gz
|
|
||||||
/Math-BigInt-1.999807.tar.gz
|
|
||||||
/Math-BigInt-1.999808.tar.gz
|
|
||||||
/Math-BigInt-1.999809.tar.gz
|
|
||||||
/Math-BigInt-1.999810.tar.gz
|
|
||||||
/Math-BigInt-1.999811.tar.gz
|
|
||||||
/Math-BigInt-1.999812.tar.gz
|
|
||||||
/Math-BigInt-1.999813.tar.gz
|
|
||||||
/Math-BigInt-1.999814.tar.gz
|
|
||||||
/Math-BigInt-1.999815.tar.gz
|
|
||||||
/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
|
|
||||||
|
@ -0,0 +1,245 @@
|
|||||||
|
From 5c03061a16ec9af06e3d76d3757f9d3044d58d8e Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||||
|
Date: Wed, 11 Jan 2017 09:24:21 +0100
|
||||||
|
Subject: [PATCH] Ignore leading and trailing white spaces for non-decimal
|
||||||
|
input
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Documentation reads that surrounding white space is ignored. But this
|
||||||
|
does not work for non-decimal numbers since Math-BigInt-1.999712:
|
||||||
|
|
||||||
|
$ perl -MMath::BigInt -e 'print Math::BigInt->new(" 0x1 "), qq{\n}'
|
||||||
|
NaN
|
||||||
|
|
||||||
|
This patch fixes it.
|
||||||
|
|
||||||
|
CPAN RT#119805
|
||||||
|
|
||||||
|
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||||
|
---
|
||||||
|
lib/Math/BigFloat.pm | 6 ++++++
|
||||||
|
lib/Math/BigInt.pm | 6 ++++++
|
||||||
|
t/from_bin-mbf.t | 15 ++++++++++++++-
|
||||||
|
t/from_hex-mbf.t | 15 ++++++++++++++-
|
||||||
|
t/from_oct-mbf.t | 15 ++++++++++++++-
|
||||||
|
5 files changed, 54 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/lib/Math/BigFloat.pm b/lib/Math/BigFloat.pm
|
||||||
|
index 190e2ee..1030c46 100644
|
||||||
|
--- a/lib/Math/BigFloat.pm
|
||||||
|
+++ b/lib/Math/BigFloat.pm
|
||||||
|
@@ -526,6 +526,7 @@ sub from_hex {
|
||||||
|
|
||||||
|
if ($str =~ s/
|
||||||
|
^
|
||||||
|
+ \s*
|
||||||
|
|
||||||
|
# sign
|
||||||
|
( [+-]? )
|
||||||
|
@@ -552,6 +553,7 @@ sub from_hex {
|
||||||
|
( \d+ (?: _ \d+ )* )
|
||||||
|
)?
|
||||||
|
|
||||||
|
+ \s*
|
||||||
|
$
|
||||||
|
//x)
|
||||||
|
{
|
||||||
|
@@ -611,6 +613,7 @@ sub from_oct {
|
||||||
|
|
||||||
|
if ($str =~ s/
|
||||||
|
^
|
||||||
|
+ \s*
|
||||||
|
|
||||||
|
# sign
|
||||||
|
( [+-]? )
|
||||||
|
@@ -634,6 +637,7 @@ sub from_oct {
|
||||||
|
( \d+ (?: _ \d+ )* )
|
||||||
|
)?
|
||||||
|
|
||||||
|
+ \s*
|
||||||
|
$
|
||||||
|
//x)
|
||||||
|
{
|
||||||
|
@@ -693,6 +697,7 @@ sub from_bin {
|
||||||
|
|
||||||
|
if ($str =~ s/
|
||||||
|
^
|
||||||
|
+ \s*
|
||||||
|
|
||||||
|
# sign
|
||||||
|
( [+-]? )
|
||||||
|
@@ -719,6 +724,7 @@ sub from_bin {
|
||||||
|
( \d+ (?: _ \d+ )* )
|
||||||
|
)?
|
||||||
|
|
||||||
|
+ \s*
|
||||||
|
$
|
||||||
|
//x)
|
||||||
|
{
|
||||||
|
diff --git a/lib/Math/BigInt.pm b/lib/Math/BigInt.pm
|
||||||
|
index 24b14c4..b0782ac 100644
|
||||||
|
--- a/lib/Math/BigInt.pm
|
||||||
|
+++ b/lib/Math/BigInt.pm
|
||||||
|
@@ -729,12 +729,14 @@ sub from_hex {
|
||||||
|
|
||||||
|
if ($str =~ s/
|
||||||
|
^
|
||||||
|
+ \s*
|
||||||
|
( [+-]? )
|
||||||
|
(0?x)?
|
||||||
|
(
|
||||||
|
[0-9a-fA-F]*
|
||||||
|
( _ [0-9a-fA-F]+ )*
|
||||||
|
)
|
||||||
|
+ \s*
|
||||||
|
$
|
||||||
|
//x)
|
||||||
|
{
|
||||||
|
@@ -780,11 +782,13 @@ sub from_oct {
|
||||||
|
|
||||||
|
if ($str =~ s/
|
||||||
|
^
|
||||||
|
+ \s*
|
||||||
|
( [+-]? )
|
||||||
|
(
|
||||||
|
[0-7]*
|
||||||
|
( _ [0-7]+ )*
|
||||||
|
)
|
||||||
|
+ \s*
|
||||||
|
$
|
||||||
|
//x)
|
||||||
|
{
|
||||||
|
@@ -830,12 +834,14 @@ sub from_bin {
|
||||||
|
|
||||||
|
if ($str =~ s/
|
||||||
|
^
|
||||||
|
+ \s*
|
||||||
|
( [+-]? )
|
||||||
|
(0?b)?
|
||||||
|
(
|
||||||
|
[01]*
|
||||||
|
( _ [01]+ )*
|
||||||
|
)
|
||||||
|
+ \s*
|
||||||
|
$
|
||||||
|
//x)
|
||||||
|
{
|
||||||
|
diff --git a/t/from_bin-mbf.t b/t/from_bin-mbf.t
|
||||||
|
index a8c7527..caaaa2f 100644
|
||||||
|
--- a/t/from_bin-mbf.t
|
||||||
|
+++ b/t/from_bin-mbf.t
|
||||||
|
@@ -3,19 +3,32 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
|
||||||
|
-use Test::More tests => 27;
|
||||||
|
+use Test::More tests => 1 + 26 * 4;
|
||||||
|
|
||||||
|
my $class;
|
||||||
|
|
||||||
|
BEGIN { $class = 'Math::BigFloat'; }
|
||||||
|
BEGIN { use_ok($class, '1.999710'); }
|
||||||
|
|
||||||
|
+my @data;
|
||||||
|
+my $space = "\t\r\n ";
|
||||||
|
+
|
||||||
|
while (<DATA>) {
|
||||||
|
s/#.*$//; # remove comments
|
||||||
|
s/\s+$//; # remove trailing whitespace
|
||||||
|
next unless length; # skip empty lines
|
||||||
|
|
||||||
|
my ($in0, $out0) = split /:/;
|
||||||
|
+
|
||||||
|
+ push @data, [ $in0, $out0 ],
|
||||||
|
+ [ $in0 . $space, $out0 ],
|
||||||
|
+ [ $space . $in0, $out0 ],
|
||||||
|
+ [ $space . $in0 . $space, $out0 ];
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+for my $entry (@data) {
|
||||||
|
+ my ($in0, $out0) = @$entry;
|
||||||
|
+
|
||||||
|
my $x;
|
||||||
|
|
||||||
|
my $test = qq|\$x = $class -> from_bin("$in0");|;
|
||||||
|
diff --git a/t/from_hex-mbf.t b/t/from_hex-mbf.t
|
||||||
|
index b45917a..8fa8a0b 100644
|
||||||
|
--- a/t/from_hex-mbf.t
|
||||||
|
+++ b/t/from_hex-mbf.t
|
||||||
|
@@ -3,19 +3,32 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
|
||||||
|
-use Test::More tests => 27;
|
||||||
|
+use Test::More tests => 1 + 26 * 4;
|
||||||
|
|
||||||
|
my $class;
|
||||||
|
|
||||||
|
BEGIN { $class = 'Math::BigFloat'; }
|
||||||
|
BEGIN { use_ok($class, '1.999710'); }
|
||||||
|
|
||||||
|
+my @data;
|
||||||
|
+my $space = "\t\r\n ";
|
||||||
|
+
|
||||||
|
while (<DATA>) {
|
||||||
|
s/#.*$//; # remove comments
|
||||||
|
s/\s+$//; # remove trailing whitespace
|
||||||
|
next unless length; # skip empty lines
|
||||||
|
|
||||||
|
my ($in0, $out0) = split /:/;
|
||||||
|
+
|
||||||
|
+ push @data, [ $in0, $out0 ],
|
||||||
|
+ [ $in0 . $space, $out0 ],
|
||||||
|
+ [ $space . $in0, $out0 ],
|
||||||
|
+ [ $space . $in0 . $space, $out0 ];
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+for my $entry (@data) {
|
||||||
|
+ my ($in0, $out0) = @$entry;
|
||||||
|
+
|
||||||
|
my $x;
|
||||||
|
|
||||||
|
my $test = qq|\$x = $class -> from_hex("$in0");|;
|
||||||
|
diff --git a/t/from_oct-mbf.t b/t/from_oct-mbf.t
|
||||||
|
index 7e58454..19392f2 100644
|
||||||
|
--- a/t/from_oct-mbf.t
|
||||||
|
+++ b/t/from_oct-mbf.t
|
||||||
|
@@ -3,19 +3,32 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
|
||||||
|
-use Test::More tests => 27;
|
||||||
|
+use Test::More tests => 1 + 26 * 4;
|
||||||
|
|
||||||
|
my $class;
|
||||||
|
|
||||||
|
BEGIN { $class = 'Math::BigFloat'; }
|
||||||
|
BEGIN { use_ok($class, '1.999710'); }
|
||||||
|
|
||||||
|
+my @data;
|
||||||
|
+my $space = "\t\r\n ";
|
||||||
|
+
|
||||||
|
while (<DATA>) {
|
||||||
|
s/#.*$//; # remove comments
|
||||||
|
s/\s+$//; # remove trailing whitespace
|
||||||
|
next unless length; # skip empty lines
|
||||||
|
|
||||||
|
my ($in0, $out0) = split /:/;
|
||||||
|
+
|
||||||
|
+ push @data, [ $in0, $out0 ],
|
||||||
|
+ [ $in0 . $space, $out0 ],
|
||||||
|
+ [ $space . $in0, $out0 ],
|
||||||
|
+ [ $space . $in0 . $space, $out0 ];
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+for my $entry (@data) {
|
||||||
|
+ my ($in0, $out0) = @$entry;
|
||||||
|
+
|
||||||
|
my $x;
|
||||||
|
|
||||||
|
my $test = qq|\$x = $class -> from_oct("$in0");|;
|
||||||
|
--
|
||||||
|
2.7.4
|
||||||
|
|
@ -1,7 +0,0 @@
|
|||||||
--- !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,274 +1,121 @@
|
|||||||
Name: perl-Math-BigInt
|
Name: perl-Math-BigInt
|
||||||
Epoch: 1
|
%global cpan_version 1.999727
|
||||||
%global cpan_version 1.999837
|
|
||||||
# Keep 4-digit version to compete with perl.spec
|
# Keep 4-digit version to compete with perl.spec
|
||||||
Version: %(echo %{cpan_version} | sed 's/\(\.....\)/\1./')
|
Version: %(echo %{cpan_version} | sed 's/\(\.....\)/\1./')
|
||||||
Release: 2%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Arbitrary-size integer and float mathematics
|
Summary: Arbitrary-size integer and float mathematics
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: https://metacpan.org/release/Math-BigInt
|
Group: Development/Libraries
|
||||||
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-%{cpan_version}.tar.gz
|
URL: http://search.cpan.org/dist/Math-BigInt/
|
||||||
|
Source0: http://www.cpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-%{cpan_version}.tar.gz
|
||||||
|
# Fix accepting numbers surrounded with a white space, bug #1412052,
|
||||||
|
# CPAN RT#119805, fixed in 1.999808
|
||||||
|
Patch0: Math-BigInt-1.999727-Ignore-leading-and-trailing-white-spaces-for-non-dec.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
|
BuildRequires: findutils
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
BuildRequires: perl
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl-interpreter
|
# This core module must be buildable without non-core modules at bootstrap.
|
||||||
|
%if %{defined perl_bootstrap}
|
||||||
BuildRequires: perl(Config)
|
BuildRequires: perl(Config)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
BuildRequires: perl(Cwd)
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
# ExtUtils::Manifest not used
|
||||||
|
# ExtUtils::MM_Cygwin not used
|
||||||
|
BuildRequires: perl(ExtUtils::MM_Unix)
|
||||||
|
# ExtUtils::MM_Win32 not used
|
||||||
|
BuildRequires: perl(Fcntl)
|
||||||
|
# File::Basename not used
|
||||||
|
BuildRequires: perl(File::Find)
|
||||||
|
BuildRequires: perl(File::Path)
|
||||||
|
# File::Spec not used
|
||||||
|
# File::Temp not used
|
||||||
|
# FileHandle not used
|
||||||
|
BuildRequires: perl(FindBin)
|
||||||
|
# JSON not used
|
||||||
|
# LWP::Simple not used
|
||||||
|
# Module::Build not used
|
||||||
|
# Net::FTP not used
|
||||||
|
# Parse::CPAN::Meta not used
|
||||||
|
# Socket not used
|
||||||
|
BuildRequires: perl(vars)
|
||||||
|
# YAML::Tiny not used
|
||||||
|
%else
|
||||||
|
BuildRequires: perl(inc::Module::Install)
|
||||||
|
BuildRequires: perl(Module::Install::Metadata)
|
||||||
|
BuildRequires: perl(Module::Install::WriteAll)
|
||||||
|
%endif
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
BuildRequires: perl(warnings)
|
|
||||||
BuildRequires: sed
|
BuildRequires: sed
|
||||||
# Run-time:
|
# Run-time:
|
||||||
BuildRequires: perl(Carp) >= 1.22
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(constant)
|
BuildRequires: perl(constant)
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
|
# File::Spec not used on recent perl
|
||||||
BuildRequires: perl(integer)
|
BuildRequires: perl(integer)
|
||||||
BuildRequires: perl(Math::Complex) >= 1.39
|
BuildRequires: perl(Math::Complex) >= 1.39
|
||||||
# Math::BigRat not used for tests
|
|
||||||
BuildRequires: perl(overload)
|
BuildRequires: perl(overload)
|
||||||
BuildRequires: perl(Scalar::Util)
|
BuildRequires: perl(warnings)
|
||||||
# Tests:
|
# Tests:
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
BuildRequires: perl(lib)
|
BuildRequires: perl(lib)
|
||||||
# Module::Signature not used
|
# Module::Signature not used
|
||||||
|
# Scalar::Util not used
|
||||||
# Socket not used
|
# Socket not used
|
||||||
BuildRequires: perl(Test::More) >= 0.94
|
BuildRequires: perl(Test::More) >= 0.9301
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
# Optional tests:
|
||||||
Requires: perl(Carp) >= 1.22
|
# This core module must be buildable without non-core modules at bootstrap.
|
||||||
Requires: perl(Math::Complex) >= 1.39
|
|
||||||
%if !%{defined perl_bootstrap}
|
%if !%{defined perl_bootstrap}
|
||||||
Requires: perl(Math::BigRat)
|
BuildRequires: perl(Test::Pod) >= 1.22
|
||||||
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
||||||
|
BuildRequires: perl(Pod::Coverage) >= 0.18
|
||||||
%endif
|
%endif
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
Requires: perl(Math::Complex) >= 1.39
|
||||||
Conflicts: perl < 4:5.22.0-347
|
Conflicts: perl < 4:5.22.0-347
|
||||||
|
|
||||||
# Do not export unversioned module
|
# Do not export unversioned module
|
||||||
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Math::BigInt\\)\\s*$
|
%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
|
%description
|
||||||
This provides Perl modules for arbitrary-size integer and float mathematics.
|
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
|
%prep
|
||||||
%setup -q -n Math-BigInt-%{cpan_version}
|
%setup -q -n Math-BigInt-%{cpan_version}
|
||||||
|
%patch0 -p1
|
||||||
# Help generators to recognize Perl scripts
|
# This core module must be buildable without non-core modules at bootstrap.
|
||||||
for F in t/*.t t/alias.inc `find t -name *.pm`; do
|
%if !%{defined perl_bootstrap}
|
||||||
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
# Remove bundled modules
|
||||||
chmod +x "$F"
|
rm -r inc
|
||||||
done
|
sed -i -e '/^inc\//d' MANIFEST
|
||||||
|
%endif
|
||||||
|
# Correct permissions
|
||||||
|
find . -type f -exec chmod -x {} +
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{make_build}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{make_install}
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
%{_fixperms} %{buildroot}/*
|
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
# 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
|
%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
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
# NEW file is useless
|
# NEW file is useless
|
||||||
%doc BUGS CHANGES CREDITS examples GOALS HISTORY README TODO
|
%doc BENCHMARK BUGS examples CHANGES CREDITS GOALS HISTORY README TODO
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%files tests
|
|
||||||
%{_libexecdir}/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.37-2
|
* Thu Jan 12 2017 Petr Pisar <ppisar@redhat.com> - 1.9997.27-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Fix accepting numbers surrounded with a white space (bug #1412052)
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.18-457
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.18-456
|
|
||||||
- Increase release to favour standalone package
|
|
||||||
|
|
||||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.18-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Oct 21 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.18-1
|
|
||||||
- 1.999818 bump
|
|
||||||
|
|
||||||
* Mon Oct 14 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.17-1
|
|
||||||
- 1.999817 bump
|
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.16-439
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.16-438
|
|
||||||
- Increase release to favour standalone package
|
|
||||||
|
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.16-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Oct 31 2018 Petr Pisar <ppisar@redhat.com> - 1:1.9998.16-1
|
|
||||||
- 1.999816 bump
|
|
||||||
|
|
||||||
* Tue Oct 23 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.15-1
|
|
||||||
- 1.999815 bump
|
|
||||||
|
|
||||||
* Fri Oct 12 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.14-1
|
|
||||||
- 1.999814 bump
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.13-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jun 26 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.13-2
|
|
||||||
- Perl 5.28 rebuild
|
|
||||||
|
|
||||||
* Wed Apr 18 2018 Petr Pisar <ppisar@redhat.com> - 1:1.9998.13-1
|
|
||||||
- 1.999813 bump
|
|
||||||
|
|
||||||
* Wed Apr 18 2018 Petr Pisar <ppisar@redhat.com> - 1:1.9998.12-1
|
|
||||||
- 1.999812 bump
|
|
||||||
|
|
||||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.11-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.11-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.11-3
|
|
||||||
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
||||||
|
|
||||||
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.11-2
|
|
||||||
- Perl 5.26 rebuild
|
|
||||||
|
|
||||||
* Fri Mar 17 2017 Petr Pisar <ppisar@redhat.com> - 1.9998.11-1
|
|
||||||
- 1.999811 bump
|
|
||||||
|
|
||||||
* Thu Mar 02 2017 Petr Pisar <ppisar@redhat.com> - 1.9998.10-1
|
|
||||||
- 1.999810 bump
|
|
||||||
|
|
||||||
* Mon Feb 13 2017 Petr Pisar <ppisar@redhat.com> - 1.9998.09-1
|
|
||||||
- 1.999809 bump
|
|
||||||
|
|
||||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9998.08-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 12 2017 Paul Howarth <paul@city-fan.org> - 1.9998.08-1
|
|
||||||
- 1.999808 bump
|
|
||||||
|
|
||||||
* Mon Jan 02 2017 Petr Pisar <ppisar@redhat.com> - 1.9998.07-1
|
|
||||||
- 1.999807 bump
|
|
||||||
|
|
||||||
* Wed Dec 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.9998.06-1
|
|
||||||
- 1.999806 bump
|
|
||||||
|
|
||||||
* Mon Dec 12 2016 Petr Pisar <ppisar@redhat.com> - 1.9998.05-1
|
|
||||||
- 1.999805 bump
|
|
||||||
|
|
||||||
* Fri Dec 09 2016 Petr Pisar <ppisar@redhat.com> - 1.9998.04-1
|
|
||||||
- 1.999804 bump
|
|
||||||
|
|
||||||
* Mon Dec 05 2016 Petr Pisar <ppisar@redhat.com> - 1.9998.03-1
|
|
||||||
- 1.999803 bump
|
|
||||||
|
|
||||||
* Thu Dec 01 2016 Petr Pisar <ppisar@redhat.com> - 1.9998.02-1
|
|
||||||
- 1.999802 bump
|
|
||||||
|
|
||||||
* Fri Nov 25 2016 Petr Pisar <ppisar@redhat.com> - 1.9998.01-1
|
|
||||||
- 1.999801 bump
|
|
||||||
|
|
||||||
* Fri Nov 18 2016 Petr Pisar <ppisar@redhat.com> - 1.9998.00-1
|
|
||||||
- 1.999800 bump
|
|
||||||
|
|
||||||
* Tue Nov 08 2016 Petr Pisar <ppisar@redhat.com> - 1.9997.27-1
|
* Tue Nov 08 2016 Petr Pisar <ppisar@redhat.com> - 1.9997.27-1
|
||||||
- 1.999727 bump
|
- 1.999727 bump
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
summary: Sanity tests
|
|
||||||
discover:
|
|
||||||
how: fmf
|
|
||||||
execute:
|
|
||||||
how: tmt
|
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (Math-BigInt-1.999837.tar.gz) = b548c94ab94fd835ec10924702208ddcf9c9fea401c852937f84421727b7bcb7fc02ffa38b677a8b472ba8039eec2e94f08ffc6199c0e59ff87654d7719610d1
|
95cfacbfb25972e4e8558fe2927b63da Math-BigInt-1.999727.tar.gz
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
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