diff --git a/Error-0.17029.tar.gz b/Error-0.17029.tar.gz deleted file mode 100644 index fd5016c..0000000 --- a/Error-0.17029.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1a23f7913032aed6d4b68321373a3899ca66590f4727391a091ec19c95bf7adc -size 33304 diff --git a/Error-0.17030.tar.gz b/Error-0.17030.tar.gz new file mode 100644 index 0000000..b12b10b --- /dev/null +++ b/Error-0.17030.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34d382276c0fb0d6b38355b94c96a30b12d834d5662eb53f088ee25e3e712924 +size 33488 diff --git a/perl-Error.changes b/perl-Error.changes index f29e740..47d685e 100644 --- a/perl-Error.changes +++ b/perl-Error.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Feb 19 12:39:42 UTC 2025 - Tina Müller + +- Normalize CPAN version + See https://github.com/openSUSE/cpanspec/issues/47 for details. + I found no reverse dependencies in devel:languages:perl depending + on a certain version higher than the normalized. + +------------------------------------------------------------------- +Tue Feb 18 05:33:29 UTC 2025 - Tina Müller + +- updated to 0.17030 + see /usr/share/doc/packages/perl-Error/ChangeLog + ------------------------------------------------------------------- Wed Jan 29 03:12:19 UTC 2020 - diff --git a/perl-Error.spec b/perl-Error.spec index c6be9bb..41b51b1 100644 --- a/perl-Error.spec +++ b/perl-Error.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Error # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -16,22 +16,27 @@ # -Name: perl-Error -Version: 0.17029 -Release: 0 %define cpan_name Error -Summary: Error/exception handling in an OO-ish way +Name: perl-Error +Version: 0.170.300 +Release: 0 +# 0.17030 -> normalize -> 0.170.300 +%define cpan_version 0.17030 License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz +Summary: Error/exception handling in an OO-ish way +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) >= 0.280000 +BuildRequires: perl(Module::Build) >= 0.28 BuildRequires: perl(Test::More) >= 0.88 +Provides: perl(Error) = %{version} +Provides: perl(Error::Simple) = %{version} +Provides: perl(Error::WarnDie) = %{version} +Provides: perl(Error::subs) = %{version} +%undefine __perllib_provides %{perl_requires} %description @@ -44,21 +49,20 @@ Errors in the class 'Error' should not be thrown directly, but the user should throw errors from a sub-class of 'Error'. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} -p1 %build -perl Build.PL installdirs=vendor -./Build build flags=%{?_smp_mflags} +perl Build.PL --installdirs=vendor +./Build build --flags=%{?_smp_mflags} %check ./Build test %install -./Build install destdir=%{buildroot} create_packlist=0 +./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc ChangeLog Changes examples README %license LICENSE