[perl-Math-Pari] Update to 2.01080606a (re-release with sane permissions)

Paul Howarth pghmcfc at fedoraproject.org
Thu Apr 24 22:23:28 UTC 2014


commit 050fa46aa3c852e2dc0876c7d9e9c9514ab48ce0
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Apr 24 23:22:58 2014 +0100

    Update to 2.01080606a (re-release with sane permissions)

 perl-Math-Pari.spec |   15 +++++++--------
 sources             |    2 +-
 2 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/perl-Math-Pari.spec b/perl-Math-Pari.spec
index 1aa0f7b..a076da3 100644
--- a/perl-Math-Pari.spec
+++ b/perl-Math-Pari.spec
@@ -1,13 +1,14 @@
 %global extraversion	06
+%global extrasuffix	a
 
 Summary:	Perl interface to PARI
 Name:		perl-Math-Pari
 Version:	2.010806
-Release:	21%{?dist}
+Release:	22%{?dist}
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Math-Pari/
-Source0:	http://search.cpan.org/CPAN/authors/id/I/IL/ILYAZ/modules/Math-Pari-%{version}%{extraversion}.tar.gz
+Source0:	http://search.cpan.org/CPAN/authors/id/I/IL/ILYAZ/modules/Math-Pari-%{version}%{extraversion}%{?extrasuffix}.tar.gz
 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
@@ -32,12 +33,7 @@ scientific/ number-theoretic calculations. It allows use of most PARI functions
 as Perl functions, and (almost) seamless merging of PARI and Perl data.
 
 %prep
-# 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}
+%setup -q -n Math-Pari-%{version}%{extraversion}
 
 # Don't use a fake version number when we can use a real one
 %patch0 -p1
@@ -81,6 +77,9 @@ make test
 %exclude %{_mandir}/man3/Math::libPARI.dumb.3pm*
 
 %changelog
+* Thu Apr 24 2014 Paul Howarth <paul at city-fan.org> - 2.010806-22
+- Update to 2.01080606a (re-release with sane permissions)
+
 * Thu Apr 24 2014 Paul Howarth <paul at city-fan.org> - 2.010806-21
 - Update to 2.01080606 (fixes for downloading pari and Windows builds)
 - Fix dubious permissions from upstream's tarball
diff --git a/sources b/sources
index a45c21e..d1c5876 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-84cdf890a82f06a8fa1307ecea5db76c  Math-Pari-2.01080606.tar.gz
+f49970cf7024dd886ab8b4920698b4e0  Math-Pari-2.01080606a.tar.gz



More information about the perl-devel mailing list