!9 [sync] PR-8: remove useless test

From: @openeuler-sync-bot 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
This commit is contained in:
openeuler-ci-bot 2022-10-24 03:38:10 +00:00 committed by Gitee
commit 45c6db06f0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 50 additions and 1 deletions

View File

@ -0,0 +1,44 @@
From 909c734f9aefb278aba105b008e118125ccf9194 Mon Sep 17 00:00:00 2001
From: Graham Knop <haarg@haarg.org>
Date: Mon, 16 May 2022 14:36:00 +0200
Subject: [PATCH] remove useless test
The 20_skip test appears to exist only to test skipping. Which is not
this module's responsibility.
---
t/20_skip.t | 23 -----------------------
1 file changed, 23 deletions(-)
delete mode 100644 t/20_skip.t
diff --git a/t/20_skip.t b/t/20_skip.t
deleted file mode 100644
index a9fdac3..0000000
--- a/t/20_skip.t
+++ /dev/null
@@ -1,23 +0,0 @@
-# 20 skip under 5.8
-
-use strict;
-use warnings;
-
-BEGIN {
- if($ENV{PERL_CORE}) {
- chdir 't';
- @INC = '../lib';
- }
-}
-
-print "1..2\n";
- print "# Running under Perl v $]\n";
-if($] < 5.008) {
- print "ok 1 # Skip under Perl before 5.8 ($])\n";
-} else {
- print "ok 1\n";
- print "# ^ not skipping\n";
-}
-
-print "ok 2\n";
-
--
2.27.0

View File

@ -1,7 +1,7 @@
Name: perl-Pod-Simple Name: perl-Pod-Simple
Epoch: 1 Epoch: 1
Version: 3.43 Version: 3.43
Release: 1 Release: 2
Summary: The framework for parsing Pod Summary: The framework for parsing Pod
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/Pod-Simple URL: https://metacpan.org/release/Pod-Simple
@ -15,6 +15,8 @@ BuildRequires: perl(Getopt::Long) perl(integer) perl(overload) perl(Pod::Escape
BuildRequires: perl(base) perl(Data::Dumper) perl(File::Find) perl(File::Path) perl(lib) perl(Test) perl(Test::More) BuildRequires: perl(base) perl(Data::Dumper) perl(File::Find) perl(File::Path) perl(lib) perl(Test) perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Patch6000: backport-remove-useless-test.patch
%description %description
Pod::Simple is a Perl library for parsing text in the Pod ("plain old documentation") Pod::Simple is a Perl library for parsing text in the Pod ("plain old documentation")
markup language that is typically used for writing documentation for Perl and for Perl markup language that is typically used for writing documentation for Perl and for Perl
@ -47,6 +49,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Thu Oct 20 2022 xujing <xujing125@huawei.com> - 1:3.43-2
- remove useless test
* Thu Nov 18 2021 liudabo <liudabo1@huawei.com> - 1:3.43-1 * Thu Nov 18 2021 liudabo <liudabo1@huawei.com> - 1:3.43-1
- upgrade version to 3.43 - upgrade version to 3.43