diff --git a/Exception-Class-1.44.tar.gz b/Exception-Class-1.44.tar.gz deleted file mode 100644 index 0796c9c..0000000 --- a/Exception-Class-1.44.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:33f3fbf8b138d3b04ea4ec0ba83fb0df6ba898806bcf4ef393d4cafc1a23ee0d -size 46156 diff --git a/Exception-Class-1.45.tar.gz b/Exception-Class-1.45.tar.gz new file mode 100644 index 0000000..98394bc --- /dev/null +++ b/Exception-Class-1.45.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5482a77ef027ca1f9f39e1f48c558356e954936fc8fbbdee6c811c512701b249 +size 50933 diff --git a/perl-Exception-Class.changes b/perl-Exception-Class.changes index 12aab9d..c771604 100644 --- a/perl-Exception-Class.changes +++ b/perl-Exception-Class.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon May 3 03:08:27 UTC 2021 - Tina Müller + +- updated to 1.45 + see /usr/share/doc/packages/perl-Exception-Class/Changes + + 1.45 2021-05-02 + + - The field names for an exception are now checked to ensure that they are + valid Perl identifiers. Implemented by brian d foy. PR #13. + ------------------------------------------------------------------- Mon Dec 11 06:19:21 UTC 2017 - coolo@suse.com diff --git a/perl-Exception-Class.spec b/perl-Exception-Class.spec index 1dcd914..f76e368 100644 --- a/perl-Exception-Class.spec +++ b/perl-Exception-Class.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Exception-Class # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,22 +12,20 @@ # 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/ # -Name: perl-Exception-Class -Version: 1.44 -Release: 0 %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/ +Name: perl-Exception-Class +Version: 1.45 +Release: 0 +Summary: Module that allows you to declare real exception classes in Perl +License: Artistic-1.0 OR GPL-1.0-or-later +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Data::Inheritable) >= 0.02 @@ -64,14 +62,15 @@ which is the default base class for all exception objects created by this module. %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 @@ -79,8 +78,7 @@ module. %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc appveyor.yml Changes CONTRIBUTING.md README.md +%doc azure-pipelines.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md precious.toml README.md %license LICENSE %changelog