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:
commit
f26ee5de38
@ -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
BIN
Test-Warn-0.37.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user