Sync from SUSE:SLFO:Main perl-Test-Needs revision 3dc4831e981c4ad6d70b66a249d73ee5
This commit is contained in:
commit
b4e2110209
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
Test-Needs-0.002010.tar.gz
(Stored with Git LFS)
Normal file
BIN
Test-Needs-0.002010.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_build: |-
|
||||
# rm unused.files
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
72
perl-Test-Needs.changes
Normal file
72
perl-Test-Needs.changes
Normal file
@ -0,0 +1,72 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 23 03:12:23 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.002010
|
||||
see /usr/share/doc/packages/perl-Test-Needs/Changes
|
||||
|
||||
0.002010 - 2023-01-22
|
||||
- split main test into three separate scripts
|
||||
- avoid outputting multiple plans if used with no_plan
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 26 03:07:38 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.002009
|
||||
see /usr/share/doc/packages/perl-Test-Needs/Changes
|
||||
|
||||
0.002009 - 2021-05-25
|
||||
- fix warnings from Test::Builder if Test::Needs is loaded first, and is
|
||||
used to check for a Test module.
|
||||
- fix location in code reported when a module check fails.
|
||||
- support short forms of perl versions
|
||||
- support perl versions greater than 5
|
||||
- fix handling of v-string versions on perl 5.6
|
||||
|
||||
0.002_008 - 2019-07-12
|
||||
- fix test compatibility with Windows.
|
||||
|
||||
0.002_007 - 2019-07-09
|
||||
- fix tests when @INC includes directories that shouldn't have their
|
||||
archname or version subdirectories added.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 5 05:29:56 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 0.002006
|
||||
see /usr/share/doc/packages/perl-Test-Needs/Changes
|
||||
|
||||
0.002006 - 2019-04-04
|
||||
- added additional references to related modules in pod
|
||||
- various internal cleanups
|
||||
- fix backwards compatibility with earlier versions of version.pm
|
||||
- fix output from test script when tests fail
|
||||
- added note about RELEASE_TESTING to test message on forced failures
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 27 06:17:39 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 0.002005
|
||||
see /usr/share/doc/packages/perl-Test-Needs/Changes
|
||||
|
||||
0.002005 - 2016-09-27
|
||||
- fix skipping when Test::Tester (Test::More < v2) is loaded
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 19 06:03:25 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 0.002004
|
||||
see /usr/share/doc/packages/perl-Test-Needs/Changes
|
||||
|
||||
0.002004 - 2016-08-18
|
||||
- fix test counts when Test2 not available
|
||||
|
||||
0.002003 - 2016-08-18
|
||||
- fix loud warnings when aborting a test under Test2
|
||||
- some kwalitee improvements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 12 14:14:40 UTC 2016 - coolo@suse.com
|
||||
|
||||
- initial package 0.002002
|
||||
* created by cpanspec 1.78.08
|
||||
|
75
perl-Test-Needs.spec
Normal file
75
perl-Test-Needs.spec
Normal file
@ -0,0 +1,75 @@
|
||||
#
|
||||
# spec file for package perl-Test-Needs
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name Test-Needs
|
||||
Name: perl-Test-Needs
|
||||
Version: 0.002010
|
||||
Release: 0
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Skip tests when modules not available
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Skip test scripts if modules are not available. The requested modules will
|
||||
be loaded, and optionally have their versions checked. If the module is
|
||||
missing, the test script will be skipped. Modules that are found but fail
|
||||
to compile will exit with an error rather than skip.
|
||||
|
||||
If used in a subtest, the remainder of the subtest will be skipped.
|
||||
|
||||
Skipping will work even if some tests have already been run, or if a plan
|
||||
has been declared.
|
||||
|
||||
Versions are checked via a '$module->VERSION($wanted_version)' call.
|
||||
Versions must be provided in a format that will be accepted. No extra
|
||||
processing is done on them.
|
||||
|
||||
If 'perl' is used as a module, the version is checked against the running
|
||||
perl version ($]). The version can be specified as a number, dotted-decimal
|
||||
string, v-string, or version object.
|
||||
|
||||
If the 'RELEASE_TESTING' environment variable is set, the tests will fail
|
||||
rather than skip. Subtests will be aborted, but the test script will
|
||||
continue running after that point.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user