- skip check in distributions with perl-5.8

This commit is contained in:
Štěpán Kasal 2009-12-15 16:17:38 +00:00
parent e0682b4785
commit 8b82cd6ec0

View File

@ -1,6 +1,6 @@
Name: perl-Math-BigInt-GMP
Version: 1.24
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Math::BigInt::GMP Perl module
License: GPL+ or Artistic
Group: Development/Libraries
@ -38,7 +38,10 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
# perl-Math-BigInt 1.87 (delivered with perl-5.10.x) is needed
%if 0%{?rhel} > 5 || 0%{?fedora} > 8
make test
%endif
%clean
rm -rf $RPM_BUILD_ROOT
@ -51,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
* Tue Dec 15 2009 Stepan Kasal <skasal@redhat.com> - 1.24-5
- skip check in distributions with perl-5.8
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.24-4
- rebuild against perl 5.10.1