- update to 1.37:
+ I now recommend you use Throwable instead of this module. It has a nicer, more modern interface. + Fixed various bugs and confusion in the docs. + fixed some tests + added Class::Data::Inheritable dependency + fixed declaration of prereqs - fix build with old Test::More version - build parallel OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exception-Class?expand=0&rev=22
This commit is contained in:
parent
671e7b924f
commit
ddf1894122
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9bd0945929b0e2f5511eba3851265cd2ec7f1dc7412967755b5dc4b80fde9478
|
||||
size 23702
|
3
Exception-Class-1.37.tar.gz
Normal file
3
Exception-Class-1.37.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:838b93c90a0bbd73d819dc7d3d854559880120b6878976fe2ab90a141d10cedc
|
||||
size 26457
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 11 20:02:50 UTC 2013 - lars@linux-schulserver.de
|
||||
|
||||
- update to 1.37:
|
||||
+ I now recommend you use Throwable instead of this module.
|
||||
It has a nicer, more modern interface.
|
||||
+ Fixed various bugs and confusion in the docs.
|
||||
+ fixed some tests
|
||||
+ added Class::Data::Inheritable dependency
|
||||
+ fixed declaration of prereqs
|
||||
- fix build with old Test::More version
|
||||
- build parallel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 20 08:37:16 UTC 2011 - cfarrell@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Exception-Class
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -21,7 +21,7 @@ Name: perl-Exception-Class
|
||||
Summary: A Module That Allows You to Declare Real Exception Classes in Perl
|
||||
License: Artistic-2.0
|
||||
Group: Development/Libraries/Perl
|
||||
Version: 1.32
|
||||
Version: 1.37
|
||||
Release: 0
|
||||
Url: http://search.cpan.org/dist/Exception-Class
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
@ -35,37 +35,42 @@ BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Test::More) >= 0.46
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
Requires: perl(Scalar::Util)
|
||||
Requires: perl(Class::Data::Inheritable) >= 0.02
|
||||
Requires: perl(Devel::StackTrace) >= 1.20
|
||||
Requires: perl(Scalar::Util)
|
||||
|
||||
%description
|
||||
Exception::Class allows you to declare exception hierarchies in your modules in
|
||||
a "Java-esque" manner.
|
||||
a "Java-esque" manner.
|
||||
|
||||
It features a simple interface allowing programmers to 'declare' exception
|
||||
classes at compile time. It also has a base exception class,
|
||||
Exception::Class::Base, that can be easily extended.
|
||||
classes at compile time. It also has a base exception class,
|
||||
Exception::Class::Base, that can be easily extended.
|
||||
|
||||
It is designed to make structured exception handling simpler and better by
|
||||
encouraging people to use hierarchies of exceptions in their applications,
|
||||
as opposed to a single catch-all exception class.
|
||||
encouraging people to use hierarchies of exceptions in their applications, as
|
||||
opposed to a single catch-all exception class.
|
||||
|
||||
This module does not implement any try/catch syntax. Please see the
|
||||
"OTHER EXCEPTION MODULES (try/catch syntax)" section for more information on
|
||||
how to get this syntax.
|
||||
This module does not implement any try/catch syntax. Please see the "OTHER
|
||||
EXCEPTION MODULES (try/catch syntax)" section for more information on how to
|
||||
get this syntax.
|
||||
|
||||
You will also want to look at the documentation for Exception::Class::Base,
|
||||
which is the default base class for all exception objects created
|
||||
by this module.
|
||||
which is the default base class for all exception objects created by this
|
||||
module.
|
||||
|
||||
Author: Dave Rolsky <autarch@urth.org>
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# old Test::More on SLE-11:
|
||||
%if 0%{?suse_version} < 1130
|
||||
sed -i "s|use Test::More;|use Test::More qw(no_plan);|g; \
|
||||
s|use Test::More 0.88;|use Test::More qw(no_plan);|g; \
|
||||
s|done_testing();|\#|g" t/*.t
|
||||
%endif
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
%{__make}
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
@ -81,6 +86,6 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
%files -f %{name}.files
|
||||
# normally you only need to check for doc files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc Changes LICENSE SIGNATURE
|
||||
%doc Changes LICENSE README
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user