Hello community,
here is the log from the commit of package perl-Exception-Class for
openSUSE:Factory checked in at 2015-04-25 09:52:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Exception-Class (Old)
and /work/SRC/openSUSE:Factory/.perl-Exception-Class.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Exception-Class"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Exception-Class/perl-Exception-Class.changes
2013-05-27 09:56:54.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Exception-Class.new/perl-Exception-Class.changes
2015-04-25 09:54:28.000000000 +0200
@@ -1,0 +2,22 @@
+Thu Apr 16 19:12:46 UTC 2015 - [email protected]
+
+- 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.
+
+-------------------------------------------------------------------
Old:
----
Exception-Class-1.37.tar.gz
New:
----
Exception-Class-1.39.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Exception-Class.spec ++++++
--- /var/tmp/diff_new_pack.SFpnJf/_old 2015-04-25 09:54:29.000000000 +0200
+++ /var/tmp/diff_new_pack.SFpnJf/_new 2015-04-25 09:54:29.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Exception-Class
#
-# Copyright (c) 2013 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,59 +17,58 @@
Name: perl-Exception-Class
+Version: 1.39
+Release: 0
%define cpan_name Exception-Class
-Summary: A Module That Allows You to Declare Real Exception Classes in
Perl
-License: Artistic-2.0
+Summary: Module That Allows You to Declare Real Exception Classes in
Perl
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
-Version: 1.37
-Release: 0
-Url: http://search.cpan.org/dist/Exception-Class
-Source: %{cpan_name}-%{version}.tar.gz
+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}
-# 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"
+%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
@@ -80,12 +79,8 @@
%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
++++++ Exception-Class-1.37.tar.gz -> Exception-Class-1.39.tar.gz ++++++
++++ 3044 lines of diff (skipped)
++++++ cpanspec.yml ++++++
---
#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