1
0

Accepting request 890288 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/890288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Exception-Class?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2021-05-07 14:44:51 +00:00 committed by Git OBS Bridge
commit f1263c12a9
4 changed files with 28 additions and 19 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33f3fbf8b138d3b04ea4ec0ba83fb0df6ba898806bcf4ef393d4cafc1a23ee0d
size 46156

BIN
Exception-Class-1.45.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon May 3 03:08:27 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- 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

View File

@ -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