|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
|
#
|
|
|
|
|
# spec file for package perl-Exception-Class
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2021 SUSE LLC
|
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
@@ -18,21 +18,27 @@
|
|
|
|
|
|
|
|
|
|
%define cpan_name Exception-Class
|
|
|
|
|
Name: perl-Exception-Class
|
|
|
|
|
Version: 1.45
|
|
|
|
|
Version: 1.450.0
|
|
|
|
|
Release: 0
|
|
|
|
|
Summary: Module that allows you to declare real exception classes in Perl
|
|
|
|
|
# 1.45 -> normalize -> 1.450.0
|
|
|
|
|
%define cpan_version 1.45
|
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
|
|
|
Summary: Module that allows you to declare real exception classes in Perl
|
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{cpan_version}.tar.gz
|
|
|
|
|
Source1: cpanspec.yml
|
|
|
|
|
Source100: README.md
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
|
BuildRequires: perl(Class::Data::Inheritable) >= 0.02
|
|
|
|
|
BuildRequires: perl(Devel::StackTrace) >= 2.00
|
|
|
|
|
BuildRequires: perl(Class::Data::Inheritable) >= 0.20
|
|
|
|
|
BuildRequires: perl(Devel::StackTrace) >= 2.0
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
|
|
|
|
Requires: perl(Class::Data::Inheritable) >= 0.02
|
|
|
|
|
Requires: perl(Devel::StackTrace) >= 2.00
|
|
|
|
|
Requires: perl(Class::Data::Inheritable) >= 0.20
|
|
|
|
|
Requires: perl(Devel::StackTrace) >= 2.0
|
|
|
|
|
Provides: perl(Exception::Class) = %{version}
|
|
|
|
|
Provides: perl(Exception::Class::Base) = %{version}
|
|
|
|
|
%undefine __perllib_provides
|
|
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@@ -62,8 +68,9 @@ which is the default base class for all exception objects created by this
|
|
|
|
|
module.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
|
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
|
|
|
|
|
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
@@ -78,7 +85,7 @@ make test
|
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%doc azure-pipelines.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md precious.toml README.md
|
|
|
|
|
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|