Accepting request 1247153 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/1247153
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Error?expand=0&rev=32
This commit is contained in:
Ana Guerrero 2025-02-20 15:27:42 +00:00 committed by Git OBS Bridge
commit d4b20dbc69
4 changed files with 36 additions and 18 deletions

BIN
Error-0.17029.tar.gz (Stored with Git LFS)

Binary file not shown.

3
Error-0.17030.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:34d382276c0fb0d6b38355b94c96a30b12d834d5662eb53f088ee25e3e712924
size 33488

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Feb 19 12:39:42 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- 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 <timueller+perl@suse.de>
- updated to 0.17030
see /usr/share/doc/packages/perl-Error/ChangeLog
-------------------------------------------------------------------
Wed Jan 29 03:12:19 UTC 2020 - <timueller+perl@suse.de>

View File

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