diff --git a/Test-Warn-0.36.tar.gz b/Test-Warn-0.36.tar.gz deleted file mode 100644 index f06b0aa..0000000 --- a/Test-Warn-0.36.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ecbca346d379cef8d3c0e4ac0c8eb3b2613d737ffaaeae52271c38d7bf3c6cda -size 12333 diff --git a/Test-Warn-0.37.tar.gz b/Test-Warn-0.37.tar.gz new file mode 100644 index 0000000..c275f2e --- /dev/null +++ b/Test-Warn-0.37.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98ca32e7f2f5ea89b8bfb9a0609977f3d153e242e2e51705126cb954f1a06b57 +size 12525 diff --git a/perl-Test-Warn.changes b/perl-Test-Warn.changes index 731ca69..13a0eed 100644 --- a/perl-Test-Warn.changes +++ b/perl-Test-Warn.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Aug 14 03:10:32 UTC 2022 - Tina Müller + +- 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 diff --git a/perl-Test-Warn.spec b/perl-Test-Warn.spec index c40c707..58d50f1 100644 --- a/perl-Test-Warn.spec +++ b/perl-Test-Warn.spec @@ -1,7 +1,7 @@ # # 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 # 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) # 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 -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 -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Test-Warn/ +Summary: Perl extension to test methods for warnings +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/B/BI/BIGJ/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros 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. %prep -%setup -q -n %{cpan_name}-%{version} -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{version} +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -63,7 +61,6 @@ find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README %changelog