Update to 1.010

- New upstream release 1.010
  - Added 'msys' as a Unix-type OS
- BR: perl-generators where available
- Simplify find command using -delete
- Update patches as needed
This commit is contained in:
Paul Howarth 2016-06-22 12:21:29 +01:00
parent 58298f62c7
commit dfc7aa1e84
4 changed files with 19 additions and 9 deletions

View File

@ -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;

View File

@ -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

View File

@ -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 <paul@city-fan.org> - 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 <jplesnik@redhat.com> - 1.009-366
- Perl 5.24 re-rebuild of bootstrapped packages

View File

@ -1 +1 @@
9e0cae3812bc80815f00732bde1b7e61 Perl-OSType-1.009.tar.gz
aa723870bc664bc5476a92073dce194f Perl-OSType-1.010.tar.gz