3 Commits

Author SHA256 Message Date
6428496ff4 Add Gitea build results 2025-08-12 18:13:54 +02:00
fd4299d292 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
2025-02-20 15:27:42 +00:00
2cc730d7e3 Accepting request 1247074 from devel:languages:perl:autoupdate
- 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.
- updated to 0.17030
   see /usr/share/doc/packages/perl-Error/ChangeLog

OBS-URL: https://build.opensuse.org/request/show/1247074
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Error?expand=0&rev=40
2025-02-19 15:34:06 +00:00
5 changed files with 49 additions and 18 deletions

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

Binary file not shown.

BIN
Error-0.17030.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Error/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-Error)

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,28 @@
#
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
Source100: README.md
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 +50,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