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
This commit is contained in:
Paul Howarth 2016-04-21 10:36:34 +01:00
parent 8b4b28db1c
commit 75ddd70628

View File

@ -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 <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 1.49-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild