diff --git a/Exception-Base-0.25.tar.gz b/Exception-Base-0.25.tar.gz deleted file mode 100644 index e12c565..0000000 --- a/Exception-Base-0.25.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c4ec484ec6154b4b3c477d1ce69f666289fe9b4c2f2318cf742ad2e0cd251e8 -size 59534 diff --git a/Exception-Base-0.2501.tar.gz b/Exception-Base-0.2501.tar.gz new file mode 100644 index 0000000..1d2a753 --- /dev/null +++ b/Exception-Base-0.2501.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5723dd78f4ac0b4d262a05ea46af663ea00d8096b2e9c0a43515c210760e1e75 +size 59965 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,23 @@ +--- +#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 +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-Exception-Base.changes b/perl-Exception-Base.changes index 2e091d3..92aca54 100644 --- a/perl-Exception-Base.changes +++ b/perl-Exception-Base.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 20 09:32:52 UTC 2015 - coolo@suse.com + +- updated to 0.2501 + see /usr/share/doc/packages/perl-Exception-Base/Changes + ------------------------------------------------------------------- Wed Sep 30 01:29:09 CEST 2015 - ro@suse.de diff --git a/perl-Exception-Base.spec b/perl-Exception-Base.spec index ef7cf2f..da6a21b 100644 --- a/perl-Exception-Base.spec +++ b/perl-Exception-Base.spec @@ -17,112 +17,62 @@ Name: perl-Exception-Base -Version: 0.25 +Version: 0.2501 Release: 0 %define cpan_name Exception-Base Summary: Lightweight exceptions License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Exception-Base/ -Source: http://www.cpan.org/authors/id/D/DE/DEXTER/%{cpan_name}-%{version}.tar.gz -Patch0: Exception-Base-sprintf.patch +Source0: http://www.cpan.org/authors/id/D/DE/DEXTER/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Unit::Lite) >= 0.12 -#BuildRequires: perl(Class::Throwable) -#BuildRequires: perl(Exception::Base) -#BuildRequires: perl(Exception::BaseTest::LoadedException) -#BuildRequires: perl(Exception::Class) -#BuildRequires: perl(File::Slurp) -#BuildRequires: perl(Readonly) -#BuildRequires: perl(Test::CheckChanges) -#BuildRequires: perl(Test::CPAN::Changes) -#BuildRequires: perl(Test::CPAN::Meta) -#BuildRequires: perl(Test::DistManifest) -#BuildRequires: perl(Test::Distribution) -#BuildRequires: perl(Test::EOL) -#BuildRequires: perl(Test::Kwalitee) -#BuildRequires: perl(Test::NoTabs) -#BuildRequires: perl(Test::Perl::Critic) -#BuildRequires: perl(Test::Pod) >= 1.14 -#BuildRequires: perl(Test::Pod::Coverage) >= 1.04 -#BuildRequires: perl(Test::Signature) -#BuildRequires: perl(Test::Spelling) -#BuildRequires: perl(Test::Unit::TestCase) -#BuildRequires: perl(TryCatch) -#BuildRequires: perl(Try::Tiny) %{perl_requires} %description -This class implements a fully OO exception mechanism similar to the -Exception::Class manpage or the Class::Throwable manpage. It provides a -simple interface allowing programmers to declare exception classes. These -classes can be thrown and caught. Each uncaught exception prints full stack -trace if the default verbosity is increased for debugging purposes. +This class implements a fully OO exception mechanism similar to +Exception::Class or Class::Throwable. It provides a simple interface +allowing programmers to declare exception classes. These classes can be +thrown and caught. Each uncaught exception prints full stack trace if the +default verbosity is increased for debugging purposes. The features of 'Exception::Base': -* * + * fast implementation of the exception class - fast implementation of the exception class + * fully OO without closures and source code filtering -* * + * does not mess with '$SIG{__DIE__}' and '$SIG{__WARN__}' - fully OO without closures and source code filtering + * no external run-time modules dependencies, requires core Perl modules only -* * + * the default behavior of exception class can be changed globally or just for +the thrown exception - does not mess with '$SIG{__DIE__}' and '$SIG{__WARN__}' + * matching the exception by class, message or other attributes -* * + * matching with string, regex or closure function - no external run-time modules dependencies, requires core Perl modules - only + * creating automatically the derived exception classes (perlfunc/use +interface) -* * + * easily expendable, see Exception::System class for example - the default behavior of exception class can be changed globally or just - for the thrown exception + * prints just an error message or dumps full stack trace -* * + * can propagate (rethrow) an exception - matching the exception by class, message or other attributes + * can ignore some packages for stack trace output -* * - - matching with string, regex or closure function - -* * - - creating automatically the derived exception classes (the perlfunc/use - manpage interface) - -* * - - easily expendable, see the Exception::System manpage class for example - -* * - - prints just an error message or dumps full stack trace - -* * - - can propagate (rethrow) an exception - -* * - - can ignore some packages for stack trace output - -* * - - some defaults (i.e. verbosity) can be different for different exceptions + * some defaults (i.e. verbosity) can be different for different exceptions %prep %setup -q -n %{cpan_name}-%{version} -%patch0 %build %{__perl} Build.PL installdirs=vendor