diff --git a/Math-Pari-2.010802-docs-and-testsuite.patch b/Math-Pari-2.010802-docs-and-testsuite.patch new file mode 100644 index 0000000..dadf9d3 --- /dev/null +++ b/Math-Pari-2.010802-docs-and-testsuite.patch @@ -0,0 +1,20 @@ +--- Math-Pari-2.010802/Makefile.PL.orig 2009-10-29 10:47:15.349216927 +0000 ++++ Math-Pari-2.010802/Makefile.PL 2009-10-29 11:12:54.651293844 +0000 +@@ -102,11 +102,13 @@ + } + + my %opts; ++ ++# We want to build the docs and the test suite even though we're using the system pari lib ++build_tests $paridir; # Convert the test suite ++make_pod 'libPARI.pod', '-to_pod', $paridir; # Now the docs ++make_pod 'libPARI.dumb.pod', '-to_dumb_pod', $paridir; ++ + unless ($common::parilib) { +- build_tests $paridir; # Convert the test suite +- make_pod 'libPARI.pod', '-to_pod', $paridir; # Now the docs +- make_pod 'libPARI.dumb.pod', '-to_dumb_pod', $paridir; +- # ... and paricfg.h + %opts = build_paricfg($paridir, $common::do_configure, $pari_version); + + if ($ENV{MATH_PARI_REPORT_CODES}) { diff --git a/Math-Pari-2.010802-no-fake-version.patch b/Math-Pari-2.010802-no-fake-version.patch new file mode 100644 index 0000000..1dc55db --- /dev/null +++ b/Math-Pari-2.010802-no-fake-version.patch @@ -0,0 +1,11 @@ +--- Math-Pari-2.010802/Makefile.PL.orig 2009-10-27 22:17:12.000000000 +0000 ++++ Math-Pari-2.010802/Makefile.PL 2009-10-29 10:47:15.349216927 +0000 +@@ -44,7 +44,7 @@ + EOP + + if ($common::parilib) { +- $pari_version = '2001004'; # XXXX How to get a correct one? ++ $pari_version = '@@@OUR-PARI-VERSION@@@'; # XXXX How to get a correct one? + $define = '-DNO_HIGHLEVEL_PARI'; + print < - 2.010806-12 +- Update pari source URL to reflect that we're using an OLD version +- Add buildreqs for perl core modules, which might be dual-lived +- Rewrite provides filter for rpm-4.9 compatibility +- Rename patches to strip 'perl-' prefix + * Wed Jun 15 2011 Marcela Mašláňová - 2.010806-11 - Perl mass rebuild