forked from pool/perl-Test-Fatal
Compare commits
17 Commits
f669465c64
...
96a089bf25
Author | SHA256 | Date | |
---|---|---|---|
96a089bf25 | |||
52f72f837f | |||
f1a8eab266 | |||
ac0a7c87ba | |||
d415927cf1 | |||
|
4878065780 | ||
|
88679dd955 | ||
|
10d78d1328 | ||
|
42fd34a28b | ||
|
3c9a665368 | ||
|
0612f4f2f8 | ||
|
3b6c096d14 | ||
|
c8002a18bd | ||
|
cda0e3d01b | ||
|
98e2752289 | ||
|
55e95c2f83 | ||
|
ab7e7054fb |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5cca61b381567c325c3d958bd3de582a8bf47c23798106dccd467c770ce16a3f
|
||||
size 12866
|
BIN
Test-Fatal-0.017.tar.gz
(Stored with Git LFS)
Normal file
BIN
Test-Fatal-0.017.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
|
@@ -1,3 +1,54 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 3 03:11:49 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.017
|
||||
see /usr/share/doc/packages/perl-Test-Fatal/Changes
|
||||
|
||||
0.017 2022-12-31 16:40:56-05:00 America/New_York
|
||||
- update packaging and metadata
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 10 03:10:33 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.016
|
||||
see /usr/share/doc/packages/perl-Test-Fatal/Changes
|
||||
|
||||
0.016 2020-08-08 22:00:14-04:00 America/New_York
|
||||
- no changes since trial release of 0.015
|
||||
|
||||
0.015 2018-03-10 17:06:11-05:00 America/New_York (TRIAL RELEASE)
|
||||
- add default descriptions to tests
|
||||
- work on ancient Test::Builder code
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 14 17:28:38 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.014
|
||||
see /usr/share/doc/packages/perl-Test-Fatal/Changes
|
||||
|
||||
0.014 2014-12-09 18:35:59-05:00 America/New_York
|
||||
- avoid assuming that t/todo.t is always called t/todo.t
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 4 09:13:58 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 0.013
|
||||
- rebuild to get a newer compile test that may work on 5.6.x
|
||||
- go back to auto-detecting the required Test::More, reverting the
|
||||
changes made for [rt.cpan.org #62699]
|
||||
- more clearly (and correctly) document the way NOT to use Test::Fatal
|
||||
(thanks, Karen Etheridge!)
|
||||
- try to fix $TODO not working when the user test uses $T::B::Level
|
||||
(thanks, Jesse Luehrs)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 20 08:38:05 UTC 2012 - coolo@suse.com
|
||||
|
||||
- updated to 0.010
|
||||
avoid tickling an overloading bug in perl 5.6 during testing (thanks,
|
||||
Zefram)
|
||||
advise against using isnt(exception{...},undef)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 13 20:25:01 UTC 2011 - lars@linux-schulserver.de
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Test-Fatal
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -12,71 +12,59 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-Test-Fatal
|
||||
%define cpan_name Test-Fatal
|
||||
Name: perl-Test-Fatal
|
||||
Version: 0.017
|
||||
Release: 0
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Incredibly simple helpers for testing code with exceptions
|
||||
Version: 0.008
|
||||
Release: 1
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Test-Fatal/
|
||||
Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Fatal-%{version}.tar.gz
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
#
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter) >= 5.59
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
|
||||
BuildRequires: perl(Test::More) >= 0.65
|
||||
BuildRequires: perl(Try::Tiny) >= 0.07
|
||||
#
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(Exporter) >= 5.59
|
||||
Requires: perl(Try::Tiny) >= 0.07
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Test::Fatal is an alternative to the popular Test::Exception. It does much
|
||||
less, but should allow greater flexibility in testing exception-throwing
|
||||
code with about the same amount of typing.
|
||||
It exports one routine by default: "exception".
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Ricardo Signes <rjbs@cpan.org>
|
||||
It exports one routine by default: 'exception'.
|
||||
|
||||
*Achtung!* 'exception' intentionally does not manipulate the call stack.
|
||||
User-written test functions that use 'exception' must be careful to avoid
|
||||
false positives if exceptions use stack traces that show arguments. For a
|
||||
more magical approach involving globally overriding 'caller', see
|
||||
Test::Exception.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%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
|
||||
# do not perl_process_packlist (noarch)
|
||||
# remove .packlist file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||
# remove perllocal.pod file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README
|
||||
%doc Changes examples README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user