From 053f149ef45c35eb0b3fe4b14019934f911f6fa7 Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Thu, 21 Apr 2016 10:23:08 +0100
Subject: Fix FTBFS due to missing buildreq perl-devel
Also, simplify find commands using -empty and -delete
---
perl-Math-GMP.spec | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/perl-Math-GMP.spec b/perl-Math-GMP.spec
index bfec7bb..1e7874b 100644
--- a/perl-Math-GMP.spec
+++ b/perl-Math-GMP.spec
@@ -1,7 +1,7 @@
Summary: High speed arbitrary size integer math
Name: perl-Math-GMP
Version: 2.11
-Release: 2%{?dist}
+Release: 3%{?dist}
License: LGPLv2+
Group: Development/Libraries
URL: http://search.cpan.org/dist/Math-GMP/
@@ -14,6 +14,7 @@ BuildRequires: gcc
BuildRequires: gmp-devel
BuildRequires: make
BuildRequires: perl
+BuildRequires: perl-devel
BuildRequires: perl(Devel::CheckLib)
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
@@ -55,8 +56,8 @@ make %{?_smp_mflags}
%install
rm -rf %{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} -type f -name .packlist -delete
+find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} %{buildroot}
%check
@@ -77,6 +78,10 @@ rm -rf %{buildroot}
%{_mandir}/man3/Math::GMP.3*
%changelog
+* Thu Apr 21 2016 Paul Howarth <[email protected]> - 2.11-3
+- Fix FTBFS due to missing buildreq perl-devel
+- Simplify find commands using -empty and -delete
+
* Thu Feb 04 2016 Fedora Release Engineering <[email protected]> -
2.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Math-GMP.git/commit/?h=master&id=053f149ef45c35eb0b3fe4b14019934f911f6fa7
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
http://lists.fedoraproject.org/admin/lists/[email protected]