diff --git a/perl-Perl-OSType.spec b/perl-Perl-OSType.spec index 01d71f4..aba04f8 100644 --- a/perl-Perl-OSType.spec +++ b/perl-Perl-OSType.spec @@ -2,15 +2,15 @@ %global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0) # Select the appropriate system speller -%if %(perl -e 'print (($] >= 5.010000) ? 1 : 0);') -%global speller hunspell -%else +%if 0%{?rhel} && (0%{?rhel} < 6) %global speller aspell +%else +%global speller hunspell %endif Name: perl-Perl-OSType Version: 1.010 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Map Perl operating system names to generic types License: GPL+ or Artistic Group: Development/Libraries @@ -112,6 +112,9 @@ rm -rf %{buildroot} %{_mandir}/man3/Perl::OSType.3* %changelog +* Fri Jul 22 2016 Petr Pisar - 1.010-2 +- Use distribution instead of perl version to control build-time dependencies + * Wed Jun 22 2016 Paul Howarth - 1.010-1 - Update to 1.010 - Added 'msys' as a Unix-type OS