!7 upgrade version to 2.03
From: @zhang-yao-2022 Reviewed-by: @licunlong Signed-off-by: @licunlong
This commit is contained in:
commit
1f96e18eb1
Binary file not shown.
BIN
Pod-Usage-2.03.tar.gz
Normal file
BIN
Pod-Usage-2.03.tar.gz
Normal file
Binary file not shown.
@ -1,29 +0,0 @@
|
||||
From 46785bfe6b4a12be606344819e785ec173bffa2b Mon Sep 17 00:00:00 2001
|
||||
From: Nicolas R <nicolas@atoomic.org>
|
||||
Date: Mon, 19 Oct 2020 10:29:57 -0600
|
||||
Subject: [PATCH] Output should be empty
|
||||
|
||||
diff -rNu Pod-Usage-2.01/t/pod/pod2usage2.t Pod-Usage-2.01_new/t/pod/pod2usage2.t
|
||||
--- Pod-Usage-2.01/t/pod/pod2usage2.t 2020-10-14 07:14:10.000000000 +0800
|
||||
+++ Pod-Usage-2.01_new/t/pod/pod2usage2.t 2021-07-28 16:03:42.000000000 +0800
|
||||
@@ -361,6 +361,7 @@
|
||||
*Pod::Usage::initialize = sub { 1; };
|
||||
}
|
||||
|
||||
+our $TODO;
|
||||
SKIP: {
|
||||
my $perldoc = $^X . 'doc';
|
||||
skip "Missing perldoc binary", 2 unless -x $perldoc;
|
||||
@@ -378,8 +379,11 @@
|
||||
} );
|
||||
is ($exit, 0, "Exit status pod2usage with special perldoc case");
|
||||
# output went to devnull
|
||||
- like ($text, qr/^\s*$/s, "Output test pod2usage with special perldoc case") or diag "Got:\n$text\n";
|
||||
|
||||
+ TODO: {
|
||||
+ local $TODO = q[Can get output from stty view #14];
|
||||
+ is( length($text), 0, "Output test pod2usage with special perldoc case") or diag "Got:\n$text\n";
|
||||
+ }
|
||||
}
|
||||
|
||||
# bad regexp syntax
|
||||
@ -1,13 +1,12 @@
|
||||
Name: perl-Pod-Usage
|
||||
Epoch: 4
|
||||
Version: 2.01
|
||||
Release: 2
|
||||
Version: 2.03
|
||||
Release: 1
|
||||
Summary: Print a usage message from embedded pod documentation
|
||||
License: GPL+ or Artistic-1.0
|
||||
URL: https://metacpan.org/release/Pod-Usage
|
||||
Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/Pod-Usage-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MA/MAREKR/Pod-Usage-%{version}.tar.gz
|
||||
|
||||
Patch0: backport-output-shoud-be-empty.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl make sed coreutils perl-generators perl-interpreter perl(Config) perl(warnings)
|
||||
@ -53,6 +52,9 @@ make test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Oct 25 2022 zhangyao <zhangyao108@huawei.com> - 4:2.03-1
|
||||
- upgrade version to 2.03
|
||||
|
||||
* Wed Jul 28 2021 tianwei <tianwei12@huawei.com> - 4:2.01-2
|
||||
- output should be empty for issue #I42T4q
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user