Accepting request 997403 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/997403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Warn?expand=0&rev=28
This commit is contained in:
Richard Brown 2022-08-17 16:16:43 +00:00 committed by Git OBS Bridge
commit f26ee5de38
4 changed files with 27 additions and 18 deletions

View File

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

BIN
Test-Warn-0.37.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun Aug 14 03:10:32 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 0.37
see /usr/share/doc/packages/perl-Test-Warn/Changes
0.37 2022-08-13
Merged PR:
- allow duplicate warnings when using warnings_exist
https://github.com/hanfried/test-warn/pull/8
thx to Masahiro Honma (hiratara)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 24 06:08:42 UTC 2018 - coolo@suse.com Sun Jun 24 06:08:42 UTC 2018 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Test-Warn # spec file for package perl-Test-Warn
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2022 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
@ -12,22 +12,20 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: perl-Test-Warn
Version: 0.36
Release: 0
%define cpan_name Test-Warn %define cpan_name Test-Warn
Summary: Perl extension to test methods for warnings Name: perl-Test-Warn
Version: 0.37
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl Summary: Perl extension to test methods for warnings
Url: http://search.cpan.org/dist/Test-Warn/ URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BI/BIGJ/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/B/BI/BIGJ/%{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
BuildRequires: perl(Carp) >= 1.22 BuildRequires: perl(Carp) >= 1.22
@ -47,15 +45,15 @@ If you are not already familiar with the Test::More manpage now would be
the time to go take a look. the time to go take a look.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
@ -63,7 +61,6 @@ find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README %doc Changes README
%changelog %changelog