[perl-Math-BigInt-GMP] update to 1.36

Iain Arnell iarnell at fedoraproject.org
Fri Jun 17 23:54:29 UTC 2011


commit f1aaf61b698971d0b5a6eb155e3bb7f21d94a6f7
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sat Jun 18 01:53:46 2011 +0200

    update to 1.36

 .gitignore                |    1 +
 perl-Math-BigInt-GMP.spec |   21 +++++++++++----------
 sources                   |    2 +-
 3 files changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b6adeea..06dfcd1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Math-BigInt-GMP-1.24.tar.gz
 /Math-BigInt-GMP-1.32.tar.gz
+/Math-BigInt-GMP-1.36.tar.gz
diff --git a/perl-Math-BigInt-GMP.spec b/perl-Math-BigInt-GMP.spec
index de0e04d..2f3beb0 100644
--- a/perl-Math-BigInt-GMP.spec
+++ b/perl-Math-BigInt-GMP.spec
@@ -1,20 +1,22 @@
 Name:           perl-Math-BigInt-GMP
-Version:        1.32
-Release:        2%{?dist}
+Version:        1.36
+Release:        1%{?dist}
 Summary:        Math::BigInt::GMP Perl module
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Math-BigInt-GMP/
-Source0:        http://www.cpan.org/authors/id/F/FL/FLORA/Math-BigInt-GMP-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://search.cpan.org/CPAN/authors/id/P/PJ/PJACKLAM/Math-BigInt-GMP-%{version}.tar.gz
 BuildRequires:  gmp-devel
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Math::BigInt) >= 1.993
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
 #BuildRequires:  perl(threads)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 This package contains a replacement (drop-in) module for Math::BigInt's
 core, Math::BigInt::Calc.pm. It needs the new versions of Math::BigInt and
@@ -28,8 +30,6 @@ Math::BigFloat as they are from Perl 5.7.x onwards.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -44,17 +44,18 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 make test
 %endif
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc BUGS CHANGES CREDITS LICENSE README TODO
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/Math*
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jun 18 2011 Iain Arnell <iarnell at gmail.com> 1.36-1
+- update to latest upstream version to fix perl-5.14 FTBFS
+- clean up spec for modern rpmbuild
+- use perl_default_filter
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.32-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index f5b265c..8827d93 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-50422b339e4c0987314bf08fd65d3855  Math-BigInt-GMP-1.32.tar.gz
+ad39ceccf9920e8d5d780f6b158d4848  Math-BigInt-GMP-1.36.tar.gz



More information about the perl-devel mailing list