Accepting request 297288 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/297288 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exception-Class?expand=0&rev=25
This commit is contained in:
parent
22b90af2a4
commit
0c072def68
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:838b93c90a0bbd73d819dc7d3d854559880120b6878976fe2ab90a141d10cedc
|
||||
size 26457
|
3
Exception-Class-1.39.tar.gz
Normal file
3
Exception-Class-1.39.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:819c756a69a6d1e31f396eca6a508b07b0a522a035b904cd1d432353cc362083
|
||||
size 38936
|
20
cpanspec.yml
Normal file
20
cpanspec.yml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#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_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: -
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 19:12:46 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.39
|
||||
see /usr/share/doc/packages/perl-Exception-Class/Changes
|
||||
|
||||
1.39 2014-11-01
|
||||
|
||||
- Replaced the Exception::Class::Base->NoRefs method with UnsafeRefCapture to
|
||||
match changes in Devel::StackTrace 2.00. The old method is deprecated but
|
||||
will continue to work.
|
||||
|
||||
|
||||
1.38 2014-05-05
|
||||
|
||||
- An exception without a message will now default to either the associated
|
||||
exception class description or the string "[Generic exception]". Patch by
|
||||
Ricardo Signes. PR #2.
|
||||
|
||||
- Added field_hash() and context_hash() methods. Patch by Ricardo Signes. PR
|
||||
#1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 11 20:02:50 UTC 2013 - lars@linux-schulserver.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Exception-Class
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,61 +17,58 @@
|
||||
|
||||
|
||||
Name: perl-Exception-Class
|
||||
%define cpan_name 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.37
|
||||
Version: 1.39
|
||||
Release: 0
|
||||
Url: http://search.cpan.org/dist/Exception-Class
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
%define cpan_name Exception-Class
|
||||
Summary: Module That Allows You to Declare Real Exception Classes in Perl
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Exception-Class/
|
||||
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Class::Data::Inheritable) >= 0.02
|
||||
BuildRequires: perl(Devel::StackTrace) >= 1.20
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Test::More) >= 0.46
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
BuildRequires: perl(Devel::StackTrace) >= 2.00
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
Requires: perl(Class::Data::Inheritable) >= 0.02
|
||||
Requires: perl(Devel::StackTrace) >= 1.20
|
||||
Requires: perl(Scalar::Util)
|
||||
Requires: perl(Devel::StackTrace) >= 2.00
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Exception::Class allows you to declare exception hierarchies in your modules in
|
||||
a "Java-esque" manner.
|
||||
*RECOMMENDATION 1*: If you are writing modern Perl code with the Moose
|
||||
manpage or the Moo manpage I highly recommend using the Throwable manpage
|
||||
instead of this module.
|
||||
|
||||
*RECOMMENDATION 2*: Whether or not you use the Throwable manpage, you
|
||||
should use the Try::Tiny manpage.
|
||||
|
||||
Exception::Class allows you to declare exception hierarchies in your
|
||||
modules in 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, the
|
||||
Exception::Class::Base manpage, 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.
|
||||
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.
|
||||
You will also want to look at the documentation for the
|
||||
Exception::Class::Base manpage, which is the default base class for all
|
||||
exception objects created by this module.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# MANUAL BEGIN
|
||||
# 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
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
@ -82,12 +79,8 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
# normally you only need to check for doc files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc Changes LICENSE README
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README.md
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user