From c2eb2b0df2f2a3701587d38400f55e3fafe03731 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Apr 24 2014 15:26:07 +0000 Subject: Update to 2.01080606 - New upstream release 2.01080606 - Fixes for downloading pari and Windows builds - Fix dubious permissions from upstream's tarball --- diff --git a/.gitignore b/.gitignore index d8b8c6b..e25e863 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -/Math-Pari-2.01080605.tar.gz +/Math-Pari-[0-9.]*.tar.gz /pari-2.3.5.tar.gz diff --git a/perl-Math-Pari.spec b/perl-Math-Pari.spec index e7668b2..1aa0f7b 100644 --- a/perl-Math-Pari.spec +++ b/perl-Math-Pari.spec @@ -1,9 +1,9 @@ -%global extraversion 05 +%global extraversion 06 Summary: Perl interface to PARI Name: perl-Math-Pari Version: 2.010806 -Release: 20%{?dist} +Release: 21%{?dist} License: GPL+ or Artistic Group: Development/Libraries Url: http://search.cpan.org/dist/Math-Pari/ @@ -12,6 +12,7 @@ Patch0: Math-Pari-2.010802-no-fake-version.patch Patch1: Math-Pari-2.010802-docs-and-testsuite.patch Patch2: Math-Pari-2.01080605-include-path.patch BuildRequires: libpari23-devel +BuildRequires: perl BuildRequires: perl(Carp) BuildRequires: perl(Cwd) BuildRequires: perl(Exporter) @@ -31,14 +32,16 @@ scientific/ number-theoretic calculations. It allows use of most PARI functions as Perl functions, and (almost) seamless merging of PARI and Perl data. %prep -%setup -q -n Math-Pari-%{version}%{extraversion} - -# Remove spurious executable permission bits -chmod -c -x Changes README Pari.pm PariInit.pm func_codes.h Pari.xs +# Fix missing read permissions in upstream's tarball +%setup -q -c -T -n Math-Pari-%{version}%{extraversion} +cd .. +tar xfz %{SOURCE0} +%{_fixperms} Math-Pari-%{version}%{extraversion} +cd Math-Pari-%{version}%{extraversion} # Don't use a fake version number when we can use a real one %patch0 -p1 -pari_int_version=$(pkg-config --modversion libpari23 | perl -pi -e 's/(\d+)\.(\d+)\.(\d+)/sprintf("%d%03d%03d",$1,$2,$3)/e') +pari_int_version=$(pkg-config --modversion libpari23 | perl -p -e 's/(\d+)\.(\d+)\.(\d+)/sprintf("%d%03d%03d",$1,$2,$3)/e') sed -i -e "s/@@@OUR-PARI-VERSION@@@/${pari_int_version}/" Makefile.PL # We want to build the docs and test suite too @@ -78,6 +81,10 @@ make test %exclude %{_mandir}/man3/Math::libPARI.dumb.3pm* %changelog +* Thu Apr 24 2014 Paul Howarth - 2.010806-21 +- Update to 2.01080606 (fixes for downloading pari and Windows builds) +- Fix dubious permissions from upstream's tarball + * Sat Aug 03 2013 Fedora Release Engineering - 2.010806-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 747b530..a45c21e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ccb3da2bdce184a5df3f52cfa8b43a85 Math-Pari-2.01080605.tar.gz +84cdf890a82f06a8fa1307ecea5db76c Math-Pari-2.01080606.tar.gz