Notification time stamped 2022-02-22 09:32:18 UTC
From 9d47430600d643389233df761742e7f4bd2fe3e5 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul(a)city-fan.org>
Date: Feb 22 2022 09:15:17 +0000
Subject: Update to 2.030519 (see Changes for details)
---
diff --git a/Math-Pari-2.030509-optflags.patch b/Math-Pari-2.030509-optflags.patch
deleted file mode 100644
index 70998dd..0000000
--- a/Math-Pari-2.030509-optflags.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-%Config::Config is read-only.
-We'll set compiler flags to distribution-wide defaults anyway.
-
---- Makefile.PL
-+++ Makefile.PL
-@@ -1,13 +1,6 @@
- # $Id: Makefile.PL,v 1.1 1995/01/23 04:46:12 ilya Exp $
- use strict;
- use Config '%Config';
--
--BEGIN { # Need to do before ExtUtils::MakeMaker caches them
-- if ($Config{gccversion} and grep /^OPTIMIZE=.*(?<![^\s=])-g(?!\S)/, @ARGV) { #
XXXX Bug in Perl configuration: these should be in {optimize} only
-- $Config{"${_}flags"} =~ s/(?<!\S)-(s|O(\d+|s|fast)?)(?!\S)//g for qw(cc
cpp ld lddl);
-- } # gnukfreebsd(lddl) cygwin strawberry openbsd netbsd linux(lddl)
--}
--
- use ExtUtils::MakeMaker;
-
- BEGIN {unshift @INC, 'utils'}
diff --git a/Math-Pari-2.030518-MP_NOGNUPLOT.patch
b/Math-Pari-2.030518-MP_NOGNUPLOT.patch
deleted file mode 100644
index 3c8156e..0000000
--- a/Math-Pari-2.030518-MP_NOGNUPLOT.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- t/02_sections.t
-+++ t/02_sections.t
-@@ -6,7 +6,11 @@ BEGIN { unshift @INC, './lib', '../lib';
-
- $test = 0;
- $| = 1;
--my %sec = qw(1 max 2 lift 3 erfc 4 factorint 5 elleta 6 idealnorm 7 polresultant 8
matrank 9 sumalt 10 ploth 11 forstep); # 2.3.5
-+if ($ENV{MP_NOGNUPLOT}) {
-+ my %sec = qw(1 max 2 lift 3 erfc 4 factorint 5 elleta 6 idealnorm 7 polresultant 8
matrank 9 sumalt 11 forstep); # 2.3.5
-+} else {
-+ my %sec = qw(1 max 2 lift 3 erfc 4 factorint 5 elleta 6 idealnorm 7 polresultant 8
matrank 9 sumalt 10 ploth 11 forstep); # 2.3.5
-+}
- my $secs = keys %sec;
- my $mx = 10;
- $mx < $_ and $mx = $_ for keys %sec;
---- test_eng/Testout.pm
-+++ test_eng/Testout.pm
-@@ -70,6 +70,11 @@ my $DEFAULT = undef;
-
- if ($file =~ /plot|graph|all/) {
- if ($ENV{MP_NOGNUPLOT}) {
-+ @not_yet_defined{qw(
-+ plotbox plotcolor plotcursor plotdraw ploth plothraw plotinit plotlines
-+ plotmove plotpoints plotrline plotrmove plotrpoint psdraw psploth
-+ psplothraw plotscale plotkill
-+ )} = (1) x 10000;
- $skip_gnuplot = 1;
- } else {
- eval { link_gnuplot() };
diff --git a/Math-Pari-2.030519-MP_NOGNUPLOT.patch
b/Math-Pari-2.030519-MP_NOGNUPLOT.patch
new file mode 100644
index 0000000..209f065
--- /dev/null
+++ b/Math-Pari-2.030519-MP_NOGNUPLOT.patch
@@ -0,0 +1,29 @@
+--- t/02_sections.t
++++ t/02_sections.t
+@@ -9,7 +9,11 @@ use Math::Pari;
+
+ $test = 0;
+ $| = 1;
+-my %sec = qw(1 max 2 lift 3 erfc 4 factorint 5 elleta 6 idealnorm 7 polresultant 8
matrank 9 sumalt 10 ploth 11 forstep); # 2.3.5
++if ($ENV{MP_NOGNUPLOT}) {
++ my %sec = qw(1 max 2 lift 3 erfc 4 factorint 5 elleta 6 idealnorm 7 polresultant 8
matrank 9 sumalt 11 forstep); # 2.3.5
++} else {
++ my %sec = qw(1 max 2 lift 3 erfc 4 factorint 5 elleta 6 idealnorm 7 polresultant 8
matrank 9 sumalt 10 ploth 11 forstep); # 2.3.5
++}
+ my $secs = keys %sec;
+ my($mx, @extra) = 11;
+ $mx < $_ and $mx = $_ for keys %sec;
+--- test_eng/Testout.pm
++++ test_eng/Testout.pm
+@@ -70,6 +70,11 @@ my $DEFAULT = undef;
+
+ if ($file =~ /plot|graph|all/) {
+ if ($ENV{MP_NOGNUPLOT}) {
++ @not_yet_defined{qw(
++ plotbox plotcolor plotcursor plotdraw ploth plothraw plotinit plotlines
++ plotmove plotpoints plotrline plotrmove plotrpoint psdraw psploth
++ psplothraw plotscale plotkill
++ )} = (1) x 10000;
+ $skip_gnuplot = 1;
+ } else {
+ eval { link_gnuplot() };
diff --git a/Math-Pari-2.030519-optflags.patch b/Math-Pari-2.030519-optflags.patch
new file mode 100644
index 0000000..263c983
--- /dev/null
+++ b/Math-Pari-2.030519-optflags.patch
@@ -0,0 +1,17 @@
+--- Makefile.PL
++++ Makefile.PL
+@@ -1,14 +1,6 @@
+ # $Id: Makefile.PL,v 1.1 1995/01/23 04:46:12 ilya Exp $
+ use strict;
+ use Config '%Config';
+-
+-BEGIN { # Need to do before ExtUtils::MakeMaker caches them
+- if ($Config{gccversion} and grep /^OPTIMIZE=.*(?<![^\s=])-g(?!\S)/, @ARGV) { #
XXXX Bug in Perl configuration: these should be in {optimize} only
+- my $c = tied(%Config) || \%Config;
+- ($c->{"${_}flags"} = $Config{"${_}flags"}) =~
s/(?<!\S)-(s|O(\d+|s|fast)?)(?!\S)//g for qw(cc cpp ld lddl);
+- } # gnukfreebsd(lddl) cygwin strawberry openbsd netbsd linux(lddl)
+-}
+-
+ use ExtUtils::MakeMaker;
+
+ BEGIN {unshift @INC, 'utils'}
diff --git a/perl-Math-Pari.spec b/perl-Math-Pari.spec
index 8f531d0..628ee4d 100644
--- a/perl-Math-Pari.spec
+++ b/perl-Math-Pari.spec
@@ -3,26 +3,26 @@
Summary: Perl interface to PARI
Name: perl-Math-Pari
-Version: 2.030518
-Release: 10%{?dist}
+Version: 2.030519
+Release: 1%{?dist}
License: GPL+ or Artistic
URL:
https://metacpan.org/release/Math-Pari
-Source0:
https://cpan.metacpan.org/modules/by-module/Math/Math-Pari-%{version}%{ex...
+Source0:
https://cpan.metacpan.org/modules/by-module/Math/Math-Pari-%{version}%{ex...
Patch0: Math-Pari-2.030518-system-pari.patch
Patch1: Math-Pari-2.030506-docs-and-testsuite.patch
Patch3: Math-Pari-2.030512-utf8.patch
Patch4: Math-Pari-2.030506-escape-left-braces-in-regex.patch
-Patch5: Math-Pari-2.030518-MP_NOGNUPLOT.patch
-Patch6: Math-Pari-2.030509-optflags.patch
+Patch5: Math-Pari-2.030519-MP_NOGNUPLOT.patch
+Patch6: Math-Pari-2.030519-optflags.patch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: libpari23-devel
BuildRequires: make
-BuildRequires: perl-interpreter
BuildRequires: perl-devel
BuildRequires: perl-generators
+BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::Constant)
@@ -80,6 +80,9 @@ ln -s $(pkg-config --variable=paridir libpari23)/src libpari23/src
# Don't try to fiddle with compiler flags, we'll set them ourselves anyway
%patch6
+# Remove bogus executable permissions on documentation
+chmod -c -x Changes README
+
%build
paridir=$(pkg-config --variable=paridir libpari23)
perl Makefile.PL \
@@ -113,6 +116,10 @@ make test MP_NOGNUPLOT=1
%exclude %{_mandir}/man3/Math::libPARI.dumb.3*
%changelog
+* Tue Feb 22 2022 Paul Howarth <paul(a)city-fan.org> - 2.030519-1
+- Update to 2.030519 (see Changes for details)
+- Remove bogus executable permissions on documentation
+
* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> -
2.030518-10
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
diff --git a/sources b/sources
index 6fdfffa..5f6e71d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Math-Pari-2.030518.zip) =
9bb5d789b5789b38c1d2f07b400f394f8b94872321e9b4de8177e0546fde5f13c277a268f707fbd4c35b336d5f1f86c62744e8a8d0a7d54acece89f1125a89a2
+SHA512 (Math-Pari-2.030519.tar.gz) =
a4fa77d88b443525173c6968bd47734a841862f984d07466cc7e73b50cd973784d291f06d7a44f6ebb95f65e25900638d97e3e9eb40f3139fff1b679452b4ce5
https://src.fedoraproject.org/rpms/perl-Math-Pari/c/9d47430600d643389233d...