From dbd4d87f00b6fae728c441296609020ad1c5aebe Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Sun, 25 Jun 2017 10:02:05 +0100
Subject: Update to 2.15 and drop EL-5 support

- Update to 2.15
  - Bump required perl version to 5.10.x
- Drop EL-5 support
  - Drop BuildRoot: and Group: tags
  - Drop explicit buildroot cleaning in %install section
  - Drop explicit %clean section
---
 .rpmlint           |  3 +++
 perl-Math-GMP.spec | 20 +++++++++++---------
 sources            |  2 +-
 3 files changed, 15 insertions(+), 10 deletions(-)
 create mode 100644 .rpmlint

diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..fdd57c7
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,3 @@
+from Config import *
+
+addFilter("spelling-error %description -l en_US BigInt -> ")
diff --git a/perl-Math-GMP.spec b/perl-Math-GMP.spec
index 96f9fbf..59a8394 100644
--- a/perl-Math-GMP.spec
+++ b/perl-Math-GMP.spec
@@ -1,19 +1,17 @@
 Summary:       High speed arbitrary size integer math
 Name:          perl-Math-GMP
-Version:       2.14
-Release:       3%{?dist}
+Version:       2.15
+Release:       1%{?dist}
 License:       LGPLv2+
-Group:         Development/Libraries
 URL:           http://search.cpan.org/dist/Math-GMP/
 Source0:       
http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Math-GMP-%{version}.tar.gz
-BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 # Module Build
 BuildRequires: coreutils
 BuildRequires: findutils
 BuildRequires: gcc
 BuildRequires: gmp-devel
 BuildRequires: make
-BuildRequires: perl
+BuildRequires: perl >= 4:5.10.0
 BuildRequires: perl-devel
 BuildRequires: perl-generators
 BuildRequires: perl(Devel::CheckLib)
@@ -56,7 +54,6 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -delete
 find %{buildroot} -type f -name '*.bs' -empty -delete
@@ -65,9 +62,6 @@ find %{buildroot} -type f -name '*.bs' -empty -delete
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %if 0%{?_licensedir:1}
 %license LICENSE
@@ -80,6 +74,14 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Math::GMP.3*
 
 %changelog
+* Sun Jun 25 2017 Paul Howarth <p...@city-fan.org> - 2.15-1
+- Update to 2.15
+  - Bump required perl version to 5.10.x
+- Drop EL-5 support
+  - Drop BuildRoot: and Group: tags
+  - Drop explicit buildroot cleaning in %%install section
+  - Drop explicit %%clean section
+
 * Mon Jun 05 2017 Jitka Plesnikova <jples...@redhat.com> - 2.14-3
 - Perl 5.26 rebuild
 
diff --git a/sources b/sources
index 1d0b48c..45668b6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Math-GMP-2.14.tar.gz) = 
aa3468fe49253562af74d8c8d8a0094b4f7dad32a07b5e99ed6fc4e7a090c560a8f38f5227e1b96abb59525e5b1fe4c3766dae01734a7de1f0c4938c05d6fe43
+SHA512 (Math-GMP-2.15.tar.gz) = 
6c8c13eb168f6233d5bb172ae424aa1c7b5af2cd18aabe1a9a8f2989591245456270b684062684b29539060f91b041589c43cabcd2e7e277335ae188e5f386a2
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Math-GMP.git/commit/?h=master&id=dbd4d87f00b6fae728c441296609020ad1c5aebe
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to