pghmcfc pushed to perl-Perl-OSType (perl-Perl-OSType-1.009-1.fc24). "Update to 1.009 (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue Sep 22 13:09:42 UTC 2015
From 291b67dae926d745595ac7731432c4329fa72431 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Tue, 22 Sep 2015 13:56:24 +0100
Subject: Update to 1.009
- New upstream release 1.009
- Added 'sco' as a Unix-type OS
- Update patches as needed
diff --git a/Perl-OSType-1.008-old-Test::More.patch b/Perl-OSType-1.008-old-Test::More.patch
deleted file mode 100644
index 0606d13..0000000
--- a/Perl-OSType-1.008-old-Test::More.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- t/OSType.t
-+++ t/OSType.t
-@@ -1,7 +1,7 @@
- use strict;
- use warnings;
-
--use Test::More 0.88;
-+use Test::More tests => 19;
-
- use constant NON_EXISTENT_OS => 'titanix'; #the system they said could not go down...
-
-@@ -65,5 +65,3 @@ can_ok( $test_pkg, @functions );
- ok( !is_os_type(), "$fcn: false if no type provided" );
- }
-
--done_testing;
--
---- xt/release/test-version.t
-+++ xt/release/test-version.t
-@@ -15,8 +15,8 @@ my $params = {
- push @imports, $params
- if version->parse( $Test::Version::VERSION ) >= version->parse('1.002');
-
-+plan tests => 3;
-
- Test::Version->import(@imports);
-
--version_all_ok;
--done_testing;
-+version_all_ok();
diff --git a/Perl-OSType-1.008-stopwords.patch b/Perl-OSType-1.008-stopwords.patch
deleted file mode 100644
index 6fb643b..0000000
--- a/Perl-OSType-1.008-stopwords.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/Perl/OSType.pm
-+++ lib/Perl/OSType.pm
-@@ -106,6 +106,8 @@ version 1.008
-
- =head1 DESCRIPTION
-
-+=for :stopwords Unix Win32 Windows
-+
- Modules that provide OS-specific behaviors often need to know if
- the current operating system matches a more generic type of
- operating systems. For example, 'linux' is a type of 'Unix' operating system
diff --git a/Perl-OSType-1.009-old-Test::More.patch b/Perl-OSType-1.009-old-Test::More.patch
new file mode 100644
index 0000000..a5fcd86
--- /dev/null
+++ b/Perl-OSType-1.009-old-Test::More.patch
@@ -0,0 +1,30 @@
+--- t/OSType.t
++++ t/OSType.t
+@@ -1,7 +1,7 @@
+ use strict;
+ use warnings;
+
+-use Test::More 0.88;
++use Test::More tests => 19;
+
+ use constant NON_EXISTENT_OS => 'titanix'; #the system they said could not go down...
+
+@@ -65,5 +65,3 @@ can_ok( $test_pkg, @functions );
+ ok( !is_os_type(), "$fcn: false if no type provided" );
+ }
+
+-done_testing;
+-
+--- xt/author/test-version.t
++++ xt/author/test-version.t
+@@ -15,8 +15,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;
+-done_testing;
++version_all_ok();
diff --git a/Perl-OSType-1.009-stopwords.patch b/Perl-OSType-1.009-stopwords.patch
new file mode 100644
index 0000000..1cdba64
--- /dev/null
+++ b/Perl-OSType-1.009-stopwords.patch
@@ -0,0 +1,11 @@
+--- lib/Perl/OSType.pm
++++ lib/Perl/OSType.pm
+@@ -107,6 +107,8 @@ version 1.008
+
+ =head1 DESCRIPTION
+
++=for :stopwords Unix Win32 Windows
++
+ Modules that provide OS-specific behaviors often need to know if
+ the current operating system matches a more generic type of
+ operating systems. For example, 'linux' is a type of 'Unix' operating system
diff --git a/perl-Perl-OSType.spec b/perl-Perl-OSType.spec
index 531721f..8d95467 100644
--- a/perl-Perl-OSType.spec
+++ b/perl-Perl-OSType.spec
@@ -9,18 +9,21 @@
%endif
Name: perl-Perl-OSType
-Version: 1.008
-Release: 347%{?dist}
+Version: 1.009
+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.008-old-Test::More.patch
-Patch2: Perl-OSType-1.008-stopwords.patch
+Patch1: Perl-OSType-1.009-old-Test::More.patch
+Patch2: Perl-OSType-1.009-stopwords.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Build
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
# Module
@@ -33,7 +36,7 @@ BuildRequires: perl(constant)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::More)
# Optional tests, not run for this dual-lived module when bootstrapping
-# Also not run for EPEL-5/6 builds due to package unavailability
+# Also not run for EPEL builds due to package unavailability
%if !%{defined perl_bootstrap} && 0%{?fedora}
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(CPAN::Meta::Prereqs)
@@ -106,6 +109,11 @@ rm -rf %{buildroot}
%{_mandir}/man3/Perl::OSType.3*
%changelog
+* Tue Sep 22 2015 Paul Howarth <paul at city-fan.org> - 1.009-1
+- Update to 1.009
+ - Added 'sco' as a Unix-type OS
+- Update patches as needed
+
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.008-347
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
diff --git a/sources b/sources
index 281735a..8fa8f70 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-25ff1d6305cee23e160ce78a7ef5e38d Perl-OSType-1.008.tar.gz
+9e0cae3812bc80815f00732bde1b7e61 Perl-OSType-1.009.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Perl-OSType.git/commit/?h=perl-Perl-OSType-1.009-1.fc24&id=291b67dae926d745595ac7731432c4329fa72431
More information about the perl-devel
mailing list