diff --git a/Perl-OSType-1.009-old-Test::More.patch b/Perl-OSType-1.010-old-Test::More.patch similarity index 94% rename from Perl-OSType-1.009-old-Test::More.patch rename to Perl-OSType-1.010-old-Test::More.patch index a5fcd86..1f3c2fa 100644 --- a/Perl-OSType-1.009-old-Test::More.patch +++ b/Perl-OSType-1.010-old-Test::More.patch @@ -17,12 +17,12 @@ - --- xt/author/test-version.t +++ xt/author/test-version.t -@@ -15,8 +15,8 @@ my $params = { +@@ -17,7 +17,8 @@ my $params = { push @imports, $params if version->parse( $Test::Version::VERSION ) >= version->parse('1.002'); +plan tests => 2; - ++ Test::Version->import(@imports); -version_all_ok; diff --git a/Perl-OSType-1.009-stopwords.patch b/Perl-OSType-1.010-stopwords.patch similarity index 90% rename from Perl-OSType-1.009-stopwords.patch rename to Perl-OSType-1.010-stopwords.patch index 1cdba64..d182a7c 100644 --- a/Perl-OSType-1.009-stopwords.patch +++ b/Perl-OSType-1.010-stopwords.patch @@ -1,6 +1,6 @@ --- lib/Perl/OSType.pm +++ lib/Perl/OSType.pm -@@ -107,6 +107,8 @@ version 1.008 +@@ -108,6 +108,8 @@ version 1.008 =head1 DESCRIPTION diff --git a/perl-Perl-OSType.spec b/perl-Perl-OSType.spec index da0a3a5..01d71f4 100644 --- a/perl-Perl-OSType.spec +++ b/perl-Perl-OSType.spec @@ -9,15 +9,15 @@ %endif Name: perl-Perl-OSType -Version: 1.009 -Release: 366%{?dist} +Version: 1.010 +Release: 1%{?dist} Summary: Map Perl operating system names to generic types License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Perl-OSType/ Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Perl-OSType-%{version}.tar.gz -Patch1: Perl-OSType-1.009-old-Test::More.patch -Patch2: Perl-OSType-1.009-stopwords.patch +Patch1: Perl-OSType-1.010-old-Test::More.patch +Patch2: Perl-OSType-1.010-stopwords.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch # Build @@ -25,6 +25,9 @@ BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl +%if 0%{?fedora} > 20 || 0%{?rhel} > 7 +BuildRequires: perl-generators +%endif BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 # Module BuildRequires: perl(Exporter) @@ -86,7 +89,7 @@ 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 .packlist -delete %{_fixperms} %{buildroot} %check @@ -109,6 +112,13 @@ rm -rf %{buildroot} %{_mandir}/man3/Perl::OSType.3* %changelog +* Wed Jun 22 2016 Paul Howarth - 1.010-1 +- Update to 1.010 + - Added 'msys' as a Unix-type OS +- BR: perl-generators where available +- Simplify find command using -delete +- Update patches as needed + * Wed May 18 2016 Jitka Plesnikova - 1.009-366 - Perl 5.24 re-rebuild of bootstrapped packages diff --git a/sources b/sources index 8fa8f70..df3db9d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9e0cae3812bc80815f00732bde1b7e61 Perl-OSType-1.009.tar.gz +aa723870bc664bc5476a92073dce194f Perl-OSType-1.010.tar.gz