jplesnik pushed to perl-CGI (f24). "4.27 bump"
by notificationsï¼ fedoraproject.org
From 60ea8ab1cf6db299ce2bfd60b8feaae659c2da6b Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik(a)redhat.com>
Date: Wed, 2 Mar 2016 16:23:55 +0100
Subject: 4.27 bump
---
.gitignore | 1 +
...t-Deep-and-Test-NoWarnings-tests-optional.patch | 150 ---------------------
CGI-4.27-Make-Test-Deep-tests-optional.patch | 149 ++++++++++++++++++++
perl-CGI.spec | 11 +-
sources | 2 +-
5 files changed, 158 insertions(+), 155 deletions(-)
delete mode 100644 CGI-4.24-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch
create mode 100644 CGI-4.27-Make-Test-Deep-tests-optional.patch
diff --git a/.gitignore b/.gitignore
index f490cfa..99c9dd9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,3 +20,4 @@
/CGI-4.24.tar.gz
/CGI-4.25.tar.gz
/CGI-4.26.tar.gz
+/CGI-4.27.tar.gz
diff --git a/CGI-4.24-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch b/CGI-4.24-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch
deleted file mode 100644
index 97037df..0000000
--- a/CGI-4.24-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch
+++ /dev/null
@@ -1,150 +0,0 @@
-diff -up CGI-4.15/t/cgi.t.orig CGI-4.15/t/cgi.t
---- CGI-4.15/t/cgi.t.orig 2015-04-20 15:31:49.680912958 +0200
-+++ CGI-4.15/t/cgi.t 2015-04-20 15:33:59.394460113 +0200
-@@ -6,7 +6,6 @@ use strict;
- use warnings;
-
- use Test::More tests => 25;
--use Test::Deep;
- use Test::Warn;
-
- use CGI ();
-@@ -28,11 +27,15 @@ is( $q->PrintHeader,$q->header,'PrintHea
- is( $q->HtmlTop,$q->start_html,'HtmlTop' );
- is( $q->HtmlBot,$q->end_html,'HtmlBot' );
-
--cmp_deeply(
-+SKIP: {
-+ skip 'Test::Deep module is not available', 1 unless
-+ eval 'use Test::Deep 0.11; 1';
-+ cmp_deeply(
- [ my @params = CGI::SplitParam( "foo\0bar" ) ],
- [ qw/ foo bar /],
- 'SplitParam'
--);
-+ );
-+}
-
- ok( $q->MethGet,'MethGet' );
- ok( ! $q->MethPost,'MethPost' );
-@@ -61,13 +64,17 @@ $CGI::CLOSE_UPLOAD_FILES = 0;
- ok( $q->close_upload_files( 1 ),'close_upload_files' );
- is( $CGI::CLOSE_UPLOAD_FILES,1,' ... sets $CGI::CLOSE_UPLOAD_FILES' );
-
--cmp_deeply(
-+SKIP: {
-+ skip 'Test::Deep module is not available', 1 unless
-+ eval 'use Test::Deep 0.11; 1';
-+ cmp_deeply(
- $q->default_dtd,
- [
- '-//W3C//DTD HTML 4.01 Transitional//EN',
- 'http://www.w3.org/TR/html4/loose.dtd'
- ],
- 'default_dtd'
--);
-+ );
-+}
-
- ok( ! $q->private_tempfiles,'private_tempfiles' );
-diff -up CGI-4.15/t/param_list_context.t.orig CGI-4.15/t/param_list_context.t
---- CGI-4.15/t/param_list_context.t.orig 2015-04-16 11:07:47.000000000 +0200
-+++ CGI-4.15/t/param_list_context.t 2015-04-20 14:55:08.907630027 +0200
-@@ -4,7 +4,7 @@ use strict;
- use warnings;
-
- use Test::More tests => 8;
--use Test::Deep;
-+
- use Test::Warn;
-
- use CGI ();
-@@ -36,11 +36,15 @@ warnings_are
- " ... but we only warn once",
- ;
-
--cmp_deeply(
-+SKIP: {
-+ skip 'Test::Deep module is not available', 1 unless
-+ eval 'use Test::Deep 0.11; 1';
-+ cmp_deeply(
- [ sort @params ],
- [ qw/ checkers chess / ],
- 'CGI::param()',
--);
-+ );
-+}
-
- warnings_are
- { @params = $q->multi_param('game') }
-@@ -48,11 +52,15 @@ warnings_are
- "no warnings calling multi_param"
- ;
-
--cmp_deeply(
-+SKIP: {
-+ skip 'Test::Deep module is not available', 1 unless
-+ eval 'use Test::Deep 0.11; 1';
-+ cmp_deeply(
- [ sort @params ],
- [ qw/ checkers chess / ],
- 'CGI::multi_param'
--);
-+ );
-+}
-
- $CGI::LIST_CONTEXT_WARN = 0;
-
-diff -up CGI-4.15/t/request.t.orig CGI-4.15/t/request.t
---- CGI-4.15/t/request.t.orig 2015-04-16 11:07:47.000000000 +0200
-+++ CGI-4.15/t/request.t 2015-04-20 14:55:08.907630027 +0200
-@@ -4,8 +4,6 @@ use strict;
- use warnings;
-
- use Test::More tests => 45;
--use Test::Deep;
--use Test::NoWarnings;
-
- use CGI ();
- use Config;
-@@ -118,7 +116,9 @@ $q->_reset_globals;
- is_deeply [ sort $q->$_( 'keywords' ) ], [ qw/ dragon tiger / ],
- "$_ keywords" for qw/ param url_param /;
-
-- {
-+ SKIP: {
-+ skip 'Test::Deep module is not available', 3 unless
-+ (eval 'use Test::Deep 0.11; 1' && eval 'use Test::NoWarnings; 1');
- $^W++;
-
- CGI::_reset_globals;
-diff -up CGI-4.15/t/util.t.orig CGI-4.15/t/util.t
---- CGI-4.15/t/util.t.orig 2015-04-17 15:22:23.000000000 +0200
-+++ CGI-4.15/t/util.t 2015-04-20 14:55:08.908630038 +0200
-@@ -6,7 +6,6 @@
- $| = 1;
-
- use Test::More tests => 80;
--use Test::Deep;
- use Config;
- use_ok ( 'CGI::Util', qw(
- escape
-@@ -68,6 +67,10 @@ for ( 1 .. 20 ) {
- %args,
- );
-
-+ SKIP: {
-+ skip 'Test::Deep module is not available', 1 unless
-+ eval 'use Test::Deep 0.11; 1';
-+
- cmp_deeply(
- [ @ordered ],
- [
-@@ -83,6 +86,7 @@ for ( 1 .. 20 ) {
- ],
- 'rearrange not sensitive to hash key ordering'
- );
-+ }
- }
-
- ok( CGI::Util::utf8_chr( "1",1 ),'utf8_chr' );
diff --git a/CGI-4.27-Make-Test-Deep-tests-optional.patch b/CGI-4.27-Make-Test-Deep-tests-optional.patch
new file mode 100644
index 0000000..e00375f
--- /dev/null
+++ b/CGI-4.27-Make-Test-Deep-tests-optional.patch
@@ -0,0 +1,149 @@
+diff -up CGI-4.27/t/cgi.t.orig CGI-4.27/t/cgi.t
+--- CGI-4.27/t/cgi.t.orig 2016-03-02 08:43:05.000000000 +0100
++++ CGI-4.27/t/cgi.t 2016-03-02 15:52:50.825729857 +0100
+@@ -6,7 +6,6 @@ use strict;
+ use warnings;
+
+ use Test::More tests => 25;
+-use Test::Deep;
+
+ use CGI ();
+
+@@ -27,11 +26,15 @@ is( $q->PrintHeader,$q->header,'PrintHea
+ is( $q->HtmlTop,$q->start_html,'HtmlTop' );
+ is( $q->HtmlBot,$q->end_html,'HtmlBot' );
+
+-cmp_deeply(
++SKIP: {
++ skip 'Test::Deep module is not available', 1 unless
++ eval 'use Test::Deep 0.11; 1';
++ cmp_deeply(
+ [ my @params = CGI::SplitParam( "foo\0bar" ) ],
+ [ qw/ foo bar /],
+ 'SplitParam'
+-);
++ );
++}
+
+ ok( $q->MethGet,'MethGet' );
+ ok( ! $q->MethPost,'MethPost' );
+@@ -60,13 +63,17 @@ $CGI::CLOSE_UPLOAD_FILES = 0;
+ ok( $q->close_upload_files( 1 ),'close_upload_files' );
+ is( $CGI::CLOSE_UPLOAD_FILES,1,' ... sets $CGI::CLOSE_UPLOAD_FILES' );
+
+-cmp_deeply(
++SKIP: {
++ skip 'Test::Deep module is not available', 1 unless
++ eval 'use Test::Deep 0.11; 1';
++ cmp_deeply(
+ $q->default_dtd,
+ [
+ '-//W3C//DTD HTML 4.01 Transitional//EN',
+ 'http://www.w3.org/TR/html4/loose.dtd'
+ ],
+ 'default_dtd'
+-);
++ );
++}
+
+ ok( ! $q->private_tempfiles,'private_tempfiles' );
+diff -up CGI-4.27/t/param_list_context.t.orig CGI-4.27/t/param_list_context.t
+--- CGI-4.27/t/param_list_context.t.orig 2016-03-02 08:48:20.000000000 +0100
++++ CGI-4.27/t/param_list_context.t 2016-03-02 15:52:50.825729857 +0100
+@@ -4,7 +4,7 @@ use strict;
+ use warnings;
+
+ use Test::More;
+-use Test::Deep;
++
+ use Test::Warn;
+
+ use CGI ();
+@@ -43,11 +43,15 @@ warnings_are
+ " ... but we only warn once",
+ ;
+
+-cmp_deeply(
++SKIP: {
++ skip 'Test::Deep module is not available', 1 unless
++ eval 'use Test::Deep 0.11; 1';
++ cmp_deeply(
+ [ sort @params ],
+ [ qw/ checkers chess / ],
+ 'CGI::param()',
+-);
++ );
++}
+
+ warnings_are
+ { @params = $q->multi_param('game') }
+@@ -55,11 +59,15 @@ warnings_are
+ "no warnings calling multi_param"
+ ;
+
+-cmp_deeply(
++SKIP: {
++ skip 'Test::Deep module is not available', 1 unless
++ eval 'use Test::Deep 0.11; 1';
++ cmp_deeply(
+ [ sort @params ],
+ [ qw/ checkers chess / ],
+ 'CGI::multi_param'
+-);
++ );
++}
+
+ $CGI::LIST_CONTEXT_WARN = 0;
+
+diff -up CGI-4.27/t/request.t.orig CGI-4.27/t/request.t
+--- CGI-4.27/t/request.t.orig 2016-03-02 08:16:46.000000000 +0100
++++ CGI-4.27/t/request.t 2016-03-02 15:52:50.825729857 +0100
+@@ -4,7 +4,6 @@ use strict;
+ use warnings;
+
+ use Test::More tests => 44;
+-use Test::Deep;
+
+ use CGI ();
+ use Config;
+@@ -117,7 +116,9 @@ $q->_reset_globals;
+ is_deeply [ sort $q->$_( 'keywords' ) ], [ qw/ dragon tiger / ],
+ "$_ keywords" for qw/ param url_param /;
+
+- {
++ SKIP: {
++ skip 'Test::Deep module is not available', 3 unless
++ (eval 'use Test::Deep 0.11; 1');
+ $^W++;
+
+ CGI::_reset_globals;
+diff -up CGI-4.27/t/util.t.orig CGI-4.27/t/util.t
+--- CGI-4.27/t/util.t.orig 2015-12-15 18:12:19.000000000 +0100
++++ CGI-4.27/t/util.t 2016-03-02 15:52:50.825729857 +0100
+@@ -6,7 +6,6 @@
+ $| = 1;
+
+ use Test::More tests => 80;
+-use Test::Deep;
+ use Config;
+ use_ok ( 'CGI::Util', qw(
+ escape
+@@ -68,6 +67,10 @@ for ( 1 .. 20 ) {
+ %args,
+ );
+
++ SKIP: {
++ skip 'Test::Deep module is not available', 1 unless
++ eval 'use Test::Deep 0.11; 1';
++
+ cmp_deeply(
+ [ @ordered ],
+ [
+@@ -83,6 +86,7 @@ for ( 1 .. 20 ) {
+ ],
+ 'rearrange not sensitive to hash key ordering'
+ );
++ }
+ }
+
+ ok( CGI::Util::utf8_chr( "1",1 ),'utf8_chr' );
diff --git a/perl-CGI.spec b/perl-CGI.spec
index 7c5d848..198e708 100644
--- a/perl-CGI.spec
+++ b/perl-CGI.spec
@@ -1,16 +1,17 @@
Name: perl-CGI
Summary: Handle Common Gateway Interface requests and responses
-Version: 4.26
+Version: 4.27
Release: 1%{?dist}
License: (GPL+ or Artistic) and Artistic 2.0
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-%{version}.tar.gz
-# Make Test::Deep and Test::NoWarnings tests optional as it's not in the core in contrast to the CGI
-Patch0: CGI-4.24-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch
+# Make Test::Deep tests optional as it's not in the core in contrast to the CGI
+Patch0: CGI-4.27-Make-Test-Deep-tests-optional.patch
URL: http://search.cpan.org/dist/CGI
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
+BuildRequires: glibc-common
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -51,7 +52,6 @@ BuildRequires: perl(utf8)
# Optional tests
BuildRequires: perl(Test::CPAN::Changes)
BuildRequires: perl(Test::Deep) >= 0.11
-BuildRequires: perl(Test::NoWarnings)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%if 0%(perl -e 'print $] >= 5.019')
@@ -106,6 +106,9 @@ make test
%{_mandir}/man3/*.3*
%changelog
+* Wed Mar 02 2016 Jitka Plesnikova <jplesnik(a)redhat.com> - 4.27-1
+- 4.27 bump
+
* Mon Feb 08 2016 Jitka Plesnikova <jplesnik(a)redhat.com> - 4.26-1
- 4.26 bump
diff --git a/sources b/sources
index b6ade97..2892cc3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bf606eda81c9dc5347c1f3483732b2d2 CGI-4.26.tar.gz
+494f4a891a710adbb6cf75279ef5da4e CGI-4.27.tar.gz
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-CGI.git/commit/?h=f24&id=60ea8ab1...
8Â years, 3Â months
jplesnik pushed to perl-CGI (master). "4.27 bump"
by notificationsï¼ fedoraproject.org
From 133126fc16dcae4d6981e4088e6e9af1dca0e7f0 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik(a)redhat.com>
Date: Wed, 2 Mar 2016 16:23:55 +0100
Subject: 4.27 bump
---
.gitignore | 1 +
...t-Deep-and-Test-NoWarnings-tests-optional.patch | 150 ---------------------
CGI-4.27-Make-Test-Deep-tests-optional.patch | 149 ++++++++++++++++++++
perl-CGI.spec | 11 +-
sources | 2 +-
5 files changed, 158 insertions(+), 155 deletions(-)
delete mode 100644 CGI-4.24-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch
create mode 100644 CGI-4.27-Make-Test-Deep-tests-optional.patch
diff --git a/.gitignore b/.gitignore
index f490cfa..99c9dd9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,3 +20,4 @@
/CGI-4.24.tar.gz
/CGI-4.25.tar.gz
/CGI-4.26.tar.gz
+/CGI-4.27.tar.gz
diff --git a/CGI-4.24-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch b/CGI-4.24-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch
deleted file mode 100644
index 97037df..0000000
--- a/CGI-4.24-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch
+++ /dev/null
@@ -1,150 +0,0 @@
-diff -up CGI-4.15/t/cgi.t.orig CGI-4.15/t/cgi.t
---- CGI-4.15/t/cgi.t.orig 2015-04-20 15:31:49.680912958 +0200
-+++ CGI-4.15/t/cgi.t 2015-04-20 15:33:59.394460113 +0200
-@@ -6,7 +6,6 @@ use strict;
- use warnings;
-
- use Test::More tests => 25;
--use Test::Deep;
- use Test::Warn;
-
- use CGI ();
-@@ -28,11 +27,15 @@ is( $q->PrintHeader,$q->header,'PrintHea
- is( $q->HtmlTop,$q->start_html,'HtmlTop' );
- is( $q->HtmlBot,$q->end_html,'HtmlBot' );
-
--cmp_deeply(
-+SKIP: {
-+ skip 'Test::Deep module is not available', 1 unless
-+ eval 'use Test::Deep 0.11; 1';
-+ cmp_deeply(
- [ my @params = CGI::SplitParam( "foo\0bar" ) ],
- [ qw/ foo bar /],
- 'SplitParam'
--);
-+ );
-+}
-
- ok( $q->MethGet,'MethGet' );
- ok( ! $q->MethPost,'MethPost' );
-@@ -61,13 +64,17 @@ $CGI::CLOSE_UPLOAD_FILES = 0;
- ok( $q->close_upload_files( 1 ),'close_upload_files' );
- is( $CGI::CLOSE_UPLOAD_FILES,1,' ... sets $CGI::CLOSE_UPLOAD_FILES' );
-
--cmp_deeply(
-+SKIP: {
-+ skip 'Test::Deep module is not available', 1 unless
-+ eval 'use Test::Deep 0.11; 1';
-+ cmp_deeply(
- $q->default_dtd,
- [
- '-//W3C//DTD HTML 4.01 Transitional//EN',
- 'http://www.w3.org/TR/html4/loose.dtd'
- ],
- 'default_dtd'
--);
-+ );
-+}
-
- ok( ! $q->private_tempfiles,'private_tempfiles' );
-diff -up CGI-4.15/t/param_list_context.t.orig CGI-4.15/t/param_list_context.t
---- CGI-4.15/t/param_list_context.t.orig 2015-04-16 11:07:47.000000000 +0200
-+++ CGI-4.15/t/param_list_context.t 2015-04-20 14:55:08.907630027 +0200
-@@ -4,7 +4,7 @@ use strict;
- use warnings;
-
- use Test::More tests => 8;
--use Test::Deep;
-+
- use Test::Warn;
-
- use CGI ();
-@@ -36,11 +36,15 @@ warnings_are
- " ... but we only warn once",
- ;
-
--cmp_deeply(
-+SKIP: {
-+ skip 'Test::Deep module is not available', 1 unless
-+ eval 'use Test::Deep 0.11; 1';
-+ cmp_deeply(
- [ sort @params ],
- [ qw/ checkers chess / ],
- 'CGI::param()',
--);
-+ );
-+}
-
- warnings_are
- { @params = $q->multi_param('game') }
-@@ -48,11 +52,15 @@ warnings_are
- "no warnings calling multi_param"
- ;
-
--cmp_deeply(
-+SKIP: {
-+ skip 'Test::Deep module is not available', 1 unless
-+ eval 'use Test::Deep 0.11; 1';
-+ cmp_deeply(
- [ sort @params ],
- [ qw/ checkers chess / ],
- 'CGI::multi_param'
--);
-+ );
-+}
-
- $CGI::LIST_CONTEXT_WARN = 0;
-
-diff -up CGI-4.15/t/request.t.orig CGI-4.15/t/request.t
---- CGI-4.15/t/request.t.orig 2015-04-16 11:07:47.000000000 +0200
-+++ CGI-4.15/t/request.t 2015-04-20 14:55:08.907630027 +0200
-@@ -4,8 +4,6 @@ use strict;
- use warnings;
-
- use Test::More tests => 45;
--use Test::Deep;
--use Test::NoWarnings;
-
- use CGI ();
- use Config;
-@@ -118,7 +116,9 @@ $q->_reset_globals;
- is_deeply [ sort $q->$_( 'keywords' ) ], [ qw/ dragon tiger / ],
- "$_ keywords" for qw/ param url_param /;
-
-- {
-+ SKIP: {
-+ skip 'Test::Deep module is not available', 3 unless
-+ (eval 'use Test::Deep 0.11; 1' && eval 'use Test::NoWarnings; 1');
- $^W++;
-
- CGI::_reset_globals;
-diff -up CGI-4.15/t/util.t.orig CGI-4.15/t/util.t
---- CGI-4.15/t/util.t.orig 2015-04-17 15:22:23.000000000 +0200
-+++ CGI-4.15/t/util.t 2015-04-20 14:55:08.908630038 +0200
-@@ -6,7 +6,6 @@
- $| = 1;
-
- use Test::More tests => 80;
--use Test::Deep;
- use Config;
- use_ok ( 'CGI::Util', qw(
- escape
-@@ -68,6 +67,10 @@ for ( 1 .. 20 ) {
- %args,
- );
-
-+ SKIP: {
-+ skip 'Test::Deep module is not available', 1 unless
-+ eval 'use Test::Deep 0.11; 1';
-+
- cmp_deeply(
- [ @ordered ],
- [
-@@ -83,6 +86,7 @@ for ( 1 .. 20 ) {
- ],
- 'rearrange not sensitive to hash key ordering'
- );
-+ }
- }
-
- ok( CGI::Util::utf8_chr( "1",1 ),'utf8_chr' );
diff --git a/CGI-4.27-Make-Test-Deep-tests-optional.patch b/CGI-4.27-Make-Test-Deep-tests-optional.patch
new file mode 100644
index 0000000..e00375f
--- /dev/null
+++ b/CGI-4.27-Make-Test-Deep-tests-optional.patch
@@ -0,0 +1,149 @@
+diff -up CGI-4.27/t/cgi.t.orig CGI-4.27/t/cgi.t
+--- CGI-4.27/t/cgi.t.orig 2016-03-02 08:43:05.000000000 +0100
++++ CGI-4.27/t/cgi.t 2016-03-02 15:52:50.825729857 +0100
+@@ -6,7 +6,6 @@ use strict;
+ use warnings;
+
+ use Test::More tests => 25;
+-use Test::Deep;
+
+ use CGI ();
+
+@@ -27,11 +26,15 @@ is( $q->PrintHeader,$q->header,'PrintHea
+ is( $q->HtmlTop,$q->start_html,'HtmlTop' );
+ is( $q->HtmlBot,$q->end_html,'HtmlBot' );
+
+-cmp_deeply(
++SKIP: {
++ skip 'Test::Deep module is not available', 1 unless
++ eval 'use Test::Deep 0.11; 1';
++ cmp_deeply(
+ [ my @params = CGI::SplitParam( "foo\0bar" ) ],
+ [ qw/ foo bar /],
+ 'SplitParam'
+-);
++ );
++}
+
+ ok( $q->MethGet,'MethGet' );
+ ok( ! $q->MethPost,'MethPost' );
+@@ -60,13 +63,17 @@ $CGI::CLOSE_UPLOAD_FILES = 0;
+ ok( $q->close_upload_files( 1 ),'close_upload_files' );
+ is( $CGI::CLOSE_UPLOAD_FILES,1,' ... sets $CGI::CLOSE_UPLOAD_FILES' );
+
+-cmp_deeply(
++SKIP: {
++ skip 'Test::Deep module is not available', 1 unless
++ eval 'use Test::Deep 0.11; 1';
++ cmp_deeply(
+ $q->default_dtd,
+ [
+ '-//W3C//DTD HTML 4.01 Transitional//EN',
+ 'http://www.w3.org/TR/html4/loose.dtd'
+ ],
+ 'default_dtd'
+-);
++ );
++}
+
+ ok( ! $q->private_tempfiles,'private_tempfiles' );
+diff -up CGI-4.27/t/param_list_context.t.orig CGI-4.27/t/param_list_context.t
+--- CGI-4.27/t/param_list_context.t.orig 2016-03-02 08:48:20.000000000 +0100
++++ CGI-4.27/t/param_list_context.t 2016-03-02 15:52:50.825729857 +0100
+@@ -4,7 +4,7 @@ use strict;
+ use warnings;
+
+ use Test::More;
+-use Test::Deep;
++
+ use Test::Warn;
+
+ use CGI ();
+@@ -43,11 +43,15 @@ warnings_are
+ " ... but we only warn once",
+ ;
+
+-cmp_deeply(
++SKIP: {
++ skip 'Test::Deep module is not available', 1 unless
++ eval 'use Test::Deep 0.11; 1';
++ cmp_deeply(
+ [ sort @params ],
+ [ qw/ checkers chess / ],
+ 'CGI::param()',
+-);
++ );
++}
+
+ warnings_are
+ { @params = $q->multi_param('game') }
+@@ -55,11 +59,15 @@ warnings_are
+ "no warnings calling multi_param"
+ ;
+
+-cmp_deeply(
++SKIP: {
++ skip 'Test::Deep module is not available', 1 unless
++ eval 'use Test::Deep 0.11; 1';
++ cmp_deeply(
+ [ sort @params ],
+ [ qw/ checkers chess / ],
+ 'CGI::multi_param'
+-);
++ );
++}
+
+ $CGI::LIST_CONTEXT_WARN = 0;
+
+diff -up CGI-4.27/t/request.t.orig CGI-4.27/t/request.t
+--- CGI-4.27/t/request.t.orig 2016-03-02 08:16:46.000000000 +0100
++++ CGI-4.27/t/request.t 2016-03-02 15:52:50.825729857 +0100
+@@ -4,7 +4,6 @@ use strict;
+ use warnings;
+
+ use Test::More tests => 44;
+-use Test::Deep;
+
+ use CGI ();
+ use Config;
+@@ -117,7 +116,9 @@ $q->_reset_globals;
+ is_deeply [ sort $q->$_( 'keywords' ) ], [ qw/ dragon tiger / ],
+ "$_ keywords" for qw/ param url_param /;
+
+- {
++ SKIP: {
++ skip 'Test::Deep module is not available', 3 unless
++ (eval 'use Test::Deep 0.11; 1');
+ $^W++;
+
+ CGI::_reset_globals;
+diff -up CGI-4.27/t/util.t.orig CGI-4.27/t/util.t
+--- CGI-4.27/t/util.t.orig 2015-12-15 18:12:19.000000000 +0100
++++ CGI-4.27/t/util.t 2016-03-02 15:52:50.825729857 +0100
+@@ -6,7 +6,6 @@
+ $| = 1;
+
+ use Test::More tests => 80;
+-use Test::Deep;
+ use Config;
+ use_ok ( 'CGI::Util', qw(
+ escape
+@@ -68,6 +67,10 @@ for ( 1 .. 20 ) {
+ %args,
+ );
+
++ SKIP: {
++ skip 'Test::Deep module is not available', 1 unless
++ eval 'use Test::Deep 0.11; 1';
++
+ cmp_deeply(
+ [ @ordered ],
+ [
+@@ -83,6 +86,7 @@ for ( 1 .. 20 ) {
+ ],
+ 'rearrange not sensitive to hash key ordering'
+ );
++ }
+ }
+
+ ok( CGI::Util::utf8_chr( "1",1 ),'utf8_chr' );
diff --git a/perl-CGI.spec b/perl-CGI.spec
index 7c5d848..198e708 100644
--- a/perl-CGI.spec
+++ b/perl-CGI.spec
@@ -1,16 +1,17 @@
Name: perl-CGI
Summary: Handle Common Gateway Interface requests and responses
-Version: 4.26
+Version: 4.27
Release: 1%{?dist}
License: (GPL+ or Artistic) and Artistic 2.0
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-%{version}.tar.gz
-# Make Test::Deep and Test::NoWarnings tests optional as it's not in the core in contrast to the CGI
-Patch0: CGI-4.24-Make-Test-Deep-and-Test-NoWarnings-tests-optional.patch
+# Make Test::Deep tests optional as it's not in the core in contrast to the CGI
+Patch0: CGI-4.27-Make-Test-Deep-tests-optional.patch
URL: http://search.cpan.org/dist/CGI
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
+BuildRequires: glibc-common
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -51,7 +52,6 @@ BuildRequires: perl(utf8)
# Optional tests
BuildRequires: perl(Test::CPAN::Changes)
BuildRequires: perl(Test::Deep) >= 0.11
-BuildRequires: perl(Test::NoWarnings)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%if 0%(perl -e 'print $] >= 5.019')
@@ -106,6 +106,9 @@ make test
%{_mandir}/man3/*.3*
%changelog
+* Wed Mar 02 2016 Jitka Plesnikova <jplesnik(a)redhat.com> - 4.27-1
+- 4.27 bump
+
* Mon Feb 08 2016 Jitka Plesnikova <jplesnik(a)redhat.com> - 4.26-1
- 4.26 bump
diff --git a/sources b/sources
index b6ade97..2892cc3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bf606eda81c9dc5347c1f3483732b2d2 CGI-4.26.tar.gz
+494f4a891a710adbb6cf75279ef5da4e CGI-4.27.tar.gz
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-CGI.git/commit/?h=master&id=13312...
8Â years, 3Â months
psabata pushed to perl-Text-Patch (master). "Package cleanup"
by notificationsï¼ fedoraproject.org
From bc06175783b5a5b06aabfc8cf0708ab6eff83ec6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk(a)redhat.com>
Date: Wed, 2 Mar 2016 16:17:54 +0100
Subject: Package cleanup
---
perl-Text-Patch.spec | 36 ++++++++++++++++++++----------------
1 file changed, 20 insertions(+), 16 deletions(-)
diff --git a/perl-Text-Patch.spec b/perl-Text-Patch.spec
index 5c29a4c..c85a6e4 100644
--- a/perl-Text-Patch.spec
+++ b/perl-Text-Patch.spec
@@ -1,20 +1,25 @@
Name: perl-Text-Patch
Version: 1.8
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: Patches text with given patch
License: GPLv2+
-Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-Patch/
Source0: http://www.cpan.org/authors/id/C/CA/CADE/Text-Patch-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker)
+# Build
+BuildRequires: make
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires: perl(Carp)
+BuildRequires: perl(constant)
+BuildRequires: perl(Exporter)
BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Tests only
BuildRequires: perl(Test::More)
BuildRequires: perl(Text::Diff)
-Requires: perl(Text::Diff)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-%{?perl_default_filter}
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
Text::Patch combines source text with given diff (difference) data. Diff
@@ -25,27 +30,26 @@ diff, see -u option).
%setup -q -n Text-Patch-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
%check
make test
%files
-%defattr(-,root,root,-)
-%doc ChangeLog COPYING README
+%license COPYING
+%doc ChangeLog README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Wed Mar 02 2016 Petr Å abata <contyk(a)redhat.com> - 1.8-13
+- Package cleanup
+
* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.8-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Text-Patch.git/commit/?h=master&i...
8Â years, 3Â months
Broken dependencies: perl-Dumbbench
by Fedora Koji Build System
perl-Dumbbench has broken dependencies in the rawhide tree:
On armhfp:
perl-Dumbbench-BoxPlot-0.10-2.fc24.noarch requires perl(SOOT)
Please resolve this as soon as possible.
8Â years, 3Â months
psabata pushed to perl-Text-LevenshteinXS (master). "Package cleanup"
by notificationsï¼ fedoraproject.org
From 0129faf29d4f795f9bde32afa1aeda12800b7ed0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk(a)redhat.com>
Date: Wed, 2 Mar 2016 16:12:03 +0100
Subject: Package cleanup
---
perl-Text-LevenshteinXS.spec | 35 +++++++++++++----------------------
1 file changed, 13 insertions(+), 22 deletions(-)
diff --git a/perl-Text-LevenshteinXS.spec b/perl-Text-LevenshteinXS.spec
index be0b583..0d71d79 100644
--- a/perl-Text-LevenshteinXS.spec
+++ b/perl-Text-LevenshteinXS.spec
@@ -1,17 +1,16 @@
Name: perl-Text-LevenshteinXS
Version: 0.03
-Release: 25%{?dist}
+Release: 26%{?dist}
Summary: XS implementation of the Levenshtein edit distance
License: GPL+ or Artistic
-Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-LevenshteinXS/
Source0: http://www.cpan.org/authors/id/J/JG/JGOLDBERG/Text-LevenshteinXS-%{versio...
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: coreutils
BuildRequires: findutils
+BuildRequires: gcc
BuildRequires: make
BuildRequires: perl
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl-devel
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Run-time:
BuildRequires: perl(AutoLoader)
BuildRequires: perl(Carp)
@@ -21,45 +20,37 @@ BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Tests:
BuildRequires: perl(Test)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
This module implements the Levenshtein edit distance in a XS way.
%prep
%setup -q -n Text-LevenshteinXS-%{version}
-
-%{__perl} -pi -e 's/\r\n/\n/g' Changes README
+perl -pi -e 's/\r//g' Changes README
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name '*.bs' -size 0 -delete
+%{_fixperms} %{buildroot}/*
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Text*
%{_mandir}/man3/*
%changelog
+* Wed Mar 02 2016 Petr Å abata <contyk(a)redhat.com> - 0.03-26
+- Package cleanup
+
* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.03-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Text-LevenshteinXS.git/commit/?h=...
8Â years, 3Â months
psabata pushed to perl-Text-German (master). "Package cleanup"
by notificationsï¼ fedoraproject.org
From e2037c279b772dddd095a06d51cf404c043b811d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk(a)redhat.com>
Date: Wed, 2 Mar 2016 16:05:33 +0100
Subject: Package cleanup
---
perl-Text-German.spec | 30 ++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/perl-Text-German.spec b/perl-Text-German.spec
index e2eb60b..bf31443 100644
--- a/perl-Text-German.spec
+++ b/perl-Text-German.spec
@@ -1,16 +1,20 @@
Name: perl-Text-German
Version: 0.06
-Release: 15%{?dist}
+Release: 16%{?dist}
Summary: German grundform reduction
License: GPL+ or Artistic
-Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-German/
Source0: http://www.cpan.org/authors/id/U/UL/ULPFR/Text-German-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-%{?perl_default_filter}
+# Build
+BuildRequires: make
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires: perl(Exporter)
+# Tests only
+# -
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
This is a rather incomplete implementation of work done by Gudrun Putze-Meier.
@@ -19,27 +23,25 @@ This is a rather incomplete implementation of work done by Gudrun Putze-Meier.
%setup -q -n Text-German-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
%check
make test
%files
-%defattr(-,root,root,-)
%doc README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Wed Mar 02 2016 Petr Å abata <contyk(a)redhat.com> - 0.06-16
+- Package cleanup
+
* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.06-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Text-German.git/commit/?h=master&...
8Â years, 3Â months
psabata pushed to perl-Text-Emoticon-MSN (master). "Package cleanup"
by notificationsï¼ fedoraproject.org
From 5fd8e43b0502875e4f52482b1f136375f86f20a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk(a)redhat.com>
Date: Wed, 2 Mar 2016 15:56:29 +0100
Subject: Package cleanup
---
perl-Text-Emoticon-MSN.spec | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/perl-Text-Emoticon-MSN.spec b/perl-Text-Emoticon-MSN.spec
index 5f50790..91894bb 100644
--- a/perl-Text-Emoticon-MSN.spec
+++ b/perl-Text-Emoticon-MSN.spec
@@ -1,17 +1,24 @@
Name: perl-Text-Emoticon-MSN
Version: 0.04
-Release: 18%{?dist}
+Release: 19%{?dist}
Summary: Emoticon filter of MSN Messenger
License: GPL+ or Artistic
-Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-Emoticon-MSN/
Source0: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Text-Emoticon-MSN-%{version}...
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker)
+# Build
+BuildRequires: make
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires: perl(base)
+BuildRequires: perl(strict)
+BuildRequires: perl(Text::Emoticon) >= 0.03
+# Tests only
BuildRequires: perl(Test::More) >= 0.32
-BuildRequires: perl(Text::Emoticon) >= 0.02
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Text::Emoticon\\)$
%description
Text::Emoticon::MSN is a text filter that replaces text emoticons like
@@ -22,32 +29,25 @@ http://messenger.msn.com/Resource/Emoticons.aspx
%setup -q -n Text-Emoticon-MSN-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Wed Mar 02 2016 Petr Å abata <contyk(a)redhat.com> - 0.04-19
+- Package cleanup
+
* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.04-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Text-Emoticon-MSN.git/commit/?h=m...
8Â years, 3Â months
psabata pushed to perl-Text-Emoticon (master). "Package cleanup"
by notificationsï¼ fedoraproject.org
From b3365e5979e9d6bfe14105c24e13e7b673833a88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk(a)redhat.com>
Date: Wed, 2 Mar 2016 15:48:38 +0100
Subject: Package cleanup
---
perl-Text-Emoticon.spec | 35 ++++++++++++++++-------------------
1 file changed, 16 insertions(+), 19 deletions(-)
diff --git a/perl-Text-Emoticon.spec b/perl-Text-Emoticon.spec
index 15445e2..fe734c1 100644
--- a/perl-Text-Emoticon.spec
+++ b/perl-Text-Emoticon.spec
@@ -1,17 +1,21 @@
Name: perl-Text-Emoticon
Version: 0.04
-Release: 18%{?dist}
+Release: 19%{?dist}
Summary: Factory class for Yahoo! and MSN emoticons
License: GPL+ or Artistic
-Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-Emoticon/
Source0: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Text-Emoticon-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Test::More) >= 0.32
+# Build
+BuildRequires: make
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires: perl(strict)
BuildRequires: perl(UNIVERSAL::require)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Tests only
+BuildRequires: perl(Test::More) >= 0.32
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
Text::Emoticon is a factory class to dispatch MSN/YIM emoticon set.
@@ -22,32 +26,25 @@ Kwiki/MT plugins.
%setup -q -n Text-Emoticon-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Wed Mar 02 2016 Petr Å abata <contyk(a)redhat.com> - 0.04-19
+- Package cleanup
+
* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.04-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Text-Emoticon.git/commit/?h=maste...
8Â years, 3Â months
psabata pushed to perl-Text-Context-EitherSide (master). "Package
cleanup"
by notificationsï¼ fedoraproject.org
From b1ab51cf01c2a3bdfa1069d8d9e271d75a22c8df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk(a)redhat.com>
Date: Wed, 2 Mar 2016 15:41:23 +0100
Subject: Package cleanup
---
perl-Text-Context-EitherSide.spec | 43 +++++++++++++++++++++------------------
1 file changed, 23 insertions(+), 20 deletions(-)
diff --git a/perl-Text-Context-EitherSide.spec b/perl-Text-Context-EitherSide.spec
index d41602f..9b6091f 100644
--- a/perl-Text-Context-EitherSide.spec
+++ b/perl-Text-Context-EitherSide.spec
@@ -1,18 +1,28 @@
Name: perl-Text-Context-EitherSide
Version: 1.4
-Release: 18%{?dist}
+Release: 19%{?dist}
Summary: Get n words either side of search keywords
License: Artistic 2.0
-Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-Context-EitherSide/
Source0: http://www.cpan.org/authors/id/T/TM/TMTM/Text-Context-EitherSide-%{versio...
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker)
+# Build
+BuildRequires: make
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires: perl(base)
+BuildRequires: perl(Carp)
+BuildRequires: perl(constant)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Tests only
BuildRequires: perl(Test::More)
-BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::Pod::Coverage)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Optional tests only
+BuildRequires: perl(Test::Pod) >= 1.00
+BuildRequires: perl(Test::Pod::Coverage) >= 1.00
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
Suppose you have a large piece of text - typically, say, a web page or a
@@ -24,32 +34,25 @@ which you found the keywords inside the body of the text.
%setup -q -n Text-Context-EitherSide-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Wed Mar 02 2016 Petr Å abata <contyk(a)redhat.com> - 1.4-19
+- Package cleanup
+
* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.4-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Text-Context-EitherSide.git/commi...
8Â years, 3Â months