Accepting request 896696 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/896696
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Needs?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2021-06-05 21:31:02 +00:00 committed by Git OBS Bridge
commit 3499c96077
4 changed files with 31 additions and 13 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:77f9fff0c96c5e09f34d0416b3533c3319f7cd0bb1f7fe8f8072ad59f433f0e5
size 15337

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:571c21193ad16195df58b06b268798796a391b398c443271721d2cc0fb7c4ac3
size 17052

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
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> Fri Apr 5 05:29:56 UTC 2019 - Stephan Kulow <coolo@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Test-Needs # spec file for package perl-Test-Needs
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,18 +16,16 @@
# #
Name: perl-Test-Needs
Version: 0.002006
Release: 0
%define cpan_name Test-Needs %define cpan_name Test-Needs
Name: perl-Test-Needs
Version: 0.002009
Release: 0
Summary: Skip tests when modules not available Summary: Skip tests when modules not available
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl URL: https://metacpan.org/release/%{cpan_name}
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
%{perl_requires} %{perl_requires}
@ -56,11 +54,11 @@ rather than skip. Subtests will be aborted, but the test script will
continue running after that point. continue running after that point.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %make_build
%check %check
make test make test
@ -71,7 +69,6 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README %doc Changes README
%license LICENSE %license LICENSE