[perl-Math-GMP] Update to 2.07
Paul Howarth
pghmcfc at fedoraproject.org
Tue Jan 28 11:08:51 UTC 2014
commit 39d55fa1121215dde94eeca3e163eaa14e91bbb5
Author: Paul Howarth <paul at city-fan.org>
Date: Tue Jan 28 11:07:40 2014 +0000
Update to 2.07
- New upstream release 2.07
- Go direct to XS for more speed
- Add lcm/blcm, bsqrt, bmodinv
- Don't bother trying to run the release tests
- Use DESTDIR rather than PERL_INSTALL_ROOT
- Don't need to remove empty directories from the buildroot
.gitignore | 2 +-
14964AC8.asc | 428 -----------------------------------------
161C06B1.asc | 68 -------
Math-GMP-2.06-stopwords.patch | 60 ------
perl-Math-GMP.spec | 63 ++-----
sources | 2 +-
6 files changed, 15 insertions(+), 608 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4301ec1..2f773aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Math-GMP-2.06.tar.gz
+/Math-GMP-[0-9.]*.tar.gz
diff --git a/perl-Math-GMP.spec b/perl-Math-GMP.spec
index b548784..8820921 100644
--- a/perl-Math-GMP.spec
+++ b/perl-Math-GMP.spec
@@ -1,14 +1,11 @@
Summary: High speed arbitrary size integer math
Name: perl-Math-GMP
-Version: 2.06
-Release: 14%{?dist}
+Version: 2.07
+Release: 1%{?dist}
License: LGPLv2+
Group: Development/Libraries
Url: http://search.cpan.org/dist/Math-GMP/
Source0: http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/Math-GMP-%{version}.tar.gz
-Source1: 14964AC8.asc
-Source2: 161C06B1.asc
-Patch0: Math-GMP-2.06-stopwords.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildRequires: gmp-devel
BuildRequires: perl(AutoLoader)
@@ -16,21 +13,9 @@ BuildRequires: perl(Carp)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(File::Comments)
-BuildRequires: perl(Module::Signature)
-BuildRequires: perl(Pod::Spell)
BuildRequires: perl(Test::More)
-BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::YAML::Meta)
-BuildRequires: perl(Text::SpellChecker)
-BuildRequires: perl(YAML)
-BuildRequires: hunspell-en
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
-# Critic and Pod Coverage tests fail, so make sure we don't try to run them for now
-BuildConflicts: perl(Perl::Critic)
-BuildConflicts: perl(Test::Pod::Coverage)
-
# Don't "provide" private Perl libs
%{?perl_default_filter}
@@ -41,51 +26,21 @@ gmp library for all of its calculations, as opposed to straight Perl functions.
This can result in speed improvements.
%prep
-# Do the build in a subdirectory so that the debug files list doesn't interfere
-# with the signature test
-%setup -q -c -n Math-GMP
-
-# Additional words for spell checker to ignore
-cd Math-GMP-%{version}
-%patch0 -p2
-cd -
-
-# Link docs back to top level for %%doc
-ln Math-GMP-%{version}/{README,Changes,LICENSE} .
-
-# Create a GPG directory for testing, to avoid using ~/.gnupg
-mkdir --mode=0700 gnupghome
-export GNUPGHOME=$(pwd)/gnupghome
-gpg --import %{SOURCE1} %{SOURCE2}
+%setup -q -n Math-GMP-%{version}
%build
-cd Math-GMP-%{version}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
-cd -
%install
rm -rf %{buildroot}
-make -C Math-GMP-%{version} pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
%{_fixperms} %{buildroot}
%check
-export GNUPGHOME=$(pwd)/gnupghome
-cd Math-GMP-%{version}
-
-# Signature test would fail on recent distros due to presence of MYMETA.yml
-[ -f MYMETA.yml ] && mv MYMETA.yml ..
-
-# Locale set to en_US for spell check tests
-LANG=en_US make test RELEASE_TESTING=1
-
-# Restore MYMETA.yml if necessary
-[ -f ../MYMETA.yml ] && mv ../MYMETA.yml .
-
-cd -
+make test
%clean
rm -rf %{buildroot}
@@ -98,6 +53,14 @@ rm -rf %{buildroot}
%{_mandir}/man3/Math::GMP.3pm*
%changelog
+* Tue Jan 28 2014 Paul Howarth <paul at city-fan.org> - 2.07-1
+- Update to 2.07
+ - Go direct to XS for more speed
+ - Add lcm/blcm, bsqrt, bmodinv
+- Don't bother trying to run the release tests
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+- Don't need to remove empty directories from the buildroot
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.06-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index dd5e51b..b242773 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0ead0cd7d7ec1076c6d5a5fbe81b91a3 Math-GMP-2.06.tar.gz
+a4a5fcb1fb3ab805d9720e98e0b3d519 Math-GMP-2.07.tar.gz
More information about the perl-devel
mailing list