8
0

Compare commits

...

17 Commits

Author SHA256 Message Date
96a089bf25 Accepting request 1046507 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1046507
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Fatal?expand=0&rev=20
2023-01-04 17:10:13 +00:00
52f72f837f Accepting request 1046490 from devel:languages:perl:autoupdate
- 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

OBS-URL: https://build.opensuse.org/request/show/1046490
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Fatal?expand=0&rev=26
2023-01-03 12:20:57 +00:00
f1a8eab266 Accepting request 826113 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/826113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Fatal?expand=0&rev=19
2020-08-15 19:17:26 +00:00
ac0a7c87ba Accepting request 825316 from devel:languages:perl:autoupdate
- 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

OBS-URL: https://build.opensuse.org/request/show/825316
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Fatal?expand=0&rev=24
2020-08-12 21:58:09 +00:00
d415927cf1 Accepting request 296691 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/296691
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Fatal?expand=0&rev=18
2015-04-15 14:27:01 +00:00
Stephan Kulow
4878065780 Accepting request 296249 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/296249
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Fatal?expand=0&rev=22
2015-04-15 05:01:36 +00:00
Tomáš Chvátal
88679dd955 Accepting request 202223 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/202223
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Fatal?expand=0&rev=16
2013-10-06 12:56:16 +00:00
Stephan Kulow
10d78d1328 update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Fatal?expand=0&rev=20
2013-10-04 12:00:22 +00:00
Stephan Kulow
42fd34a28b Accepting request 105943 from devel:languages:perl
- updated to 0.010
      avoid tickling an overloading bug in perl 5.6 during testing (thanks,
       Zefram)
      advise against using isnt(exception{...},undef)

OBS-URL: https://build.opensuse.org/request/show/105943
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Fatal?expand=0&rev=12
2012-02-20 15:16:36 +00:00
Stephan Kulow
3c9a665368 - updated to 0.010
avoid tickling an overloading bug in perl 5.6 during testing (thanks,
       Zefram)
      advise against using isnt(exception{...},undef)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Fatal?expand=0&rev=18
2012-02-20 08:44:38 +00:00
Stephan Kulow
0612f4f2f8 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Fatal?expand=0&rev=11
2011-12-06 17:48:09 +00:00
Stephan Kulow
3b6c096d14 Accepting request 92064 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/92064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Fatal?expand=0&rev=10
2011-11-18 14:47:43 +00:00
Sascha Peilicke
c8002a18bd Accepting request 74162 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/74162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Fatal?expand=0&rev=8
2011-06-20 09:49:33 +00:00
Sascha Peilicke
cda0e3d01b Autobuild autoformatter for 72101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Fatal?expand=0&rev=7
2011-05-31 11:14:30 +00:00
Sascha Peilicke
98e2752289 Accepting request 72101 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/72101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Fatal?expand=0&rev=6
2011-05-31 11:14:19 +00:00
Lars Vogdt
55e95c2f83 Autobuild autoformatter for 54659
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Fatal?expand=0&rev=4
2010-12-05 21:20:48 +00:00
Lars Vogdt
ab7e7054fb Accepting request 54659 from devel:languages:perl
Accepted submit request 54659 from user coolo

OBS-URL: https://build.opensuse.org/request/show/54659
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Fatal?expand=0&rev=3
2010-12-05 21:20:38 +00:00
5 changed files with 109 additions and 42 deletions

View File

@@ -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

Binary file not shown.

28
cpanspec.yml Normal file
View 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

View File

@@ -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

View File

@@ -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