From 75ddd7062828de65314e5fec5452b2c0e73a8b1a Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Thu, 21 Apr 2016 10:36:34 +0100
Subject: Fix FTBFS due to missing buildreq perl-devel
- Fix FTBFS due to missing buildreq perl-devel
- Simplify find command using -empty and -delete
- Drop redundant Group: tag
---
perl-Math-BigInt-GMP.spec | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/perl-Math-BigInt-GMP.spec b/perl-Math-BigInt-GMP.spec
index 20a4132..7d9f2b9 100644
--- a/perl-Math-BigInt-GMP.spec
+++ b/perl-Math-BigInt-GMP.spec
@@ -1,9 +1,8 @@
Name: perl-Math-BigInt-GMP
Version: 1.49
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Use the GMP library for Math::BigInt routines
License: GPL+ or Artistic
-Group: Development/Libraries
URL: http://search.cpan.org/dist/Math-BigInt-GMP/
Source0:
http://search.cpan.org/CPAN/authors/id/P/PJ/PJACKLAM/Math-BigInt-GMP-%{version}.tar.gz
# Module Build
@@ -13,6 +12,7 @@ BuildRequires: gcc
BuildRequires: gmp-devel
BuildRequires: make
BuildRequires: perl
+BuildRequires: perl-devel
BuildRequires: perl(Config)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.75
@@ -63,7 +63,7 @@ make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} %{buildroot}
%check
@@ -77,6 +77,11 @@ make test
%{_mandir}/man3/Math::BigInt::GMP.3*
%changelog
+* Thu Apr 21 2016 Paul Howarth <[email protected]> - 1.49-3
+- Fix FTBFS due to missing buildreq perl-devel
+- Simplify find command using -empty and -delete
+- Drop redundant Group: tag
+
* Thu Feb 04 2016 Fedora Release Engineering <[email protected]> -
1.49-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Math-BigInt-GMP.git/commit/?h=master&id=75ddd7062828de65314e5fec5452b2c0e73a8b1a
--
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]