- 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/package/show/devel:languages:perl/perl-Error?expand=0&rev=40
This commit is contained in:
Dirk Stoecker 2025-02-19 15:34:06 +00:00 committed by Git OBS Bridge
commit de3fbc0646
7 changed files with 299 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

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

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

20
cpanspec.yml Normal file
View File

@ -0,0 +1,20 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag

180
perl-Error.changes Normal file
View File

@ -0,0 +1,180 @@
-------------------------------------------------------------------
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>
- updated to 0.17029
see /usr/share/doc/packages/perl-Error/Changes
0.17029 2020-01-28
- Rebuild for order of 'NAME' and 'VERSION' sections in the generated
POD documentation (see 0.001004 in
https://metacpan.org/changes/distribution/Pod-Weaver-PluginBundle-SHLOMIF
).
- VERSION used to appear before NAME.
-------------------------------------------------------------------
Sat Aug 24 05:07:58 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 0.17028
see /usr/share/doc/packages/perl-Error/Changes
0.17028 2019-08-23
- Moved the VCS repo to https://github.com/shlomif/perl-error.pm
- No other significant changes.
-------------------------------------------------------------------
Thu Nov 8 06:19:56 UTC 2018 - Stephan Kulow <coolo@suse.com>
- updated to 0.17027
see /usr/share/doc/packages/perl-Error/Changes
0.17027 2018-10-28
- Documentation and examples enhancements.
- https://bitbucket.org/shlomif/perl-error.pm/pull-requests/1/october-prc-some-minor-mostly-doc-changes/diff
- Thanks to https://metacpan.org/author/JMERELO .
-------------------------------------------------------------------
Thu May 24 05:20:34 UTC 2018 - coolo@suse.com
- updated to 0.17026
see /usr/share/doc/packages/perl-Error/Changes
-------------------------------------------------------------------
Tue Aug 8 05:29:34 UTC 2017 - coolo@suse.com
- updated to 0.17025
see /usr/share/doc/packages/perl-Error/ChangeLog
Aug 07 2017 <shlomif@shlomifish.org> (Shlomi Fish)
Error.pm #0.17025
- Fix 'use Error::Simple' overriding the $VERSION
- https://rt.cpan.org/Public/Bug/Display.html?id=122713
- Thanks to Matthew Horsfall for the report.
-------------------------------------------------------------------
Sun Jun 7 08:30:50 UTC 2015 - coolo@suse.com
- updated to 0.17024
see /usr/share/doc/packages/perl-Error/ChangeLog
May 30 2015 <shlomif@shlomifish.org> (Shlomi Fish)
Error.pm #0.17024
- Add link to the VCS repository in META.yml
-------------------------------------------------------------------
Thu Apr 16 21:43:52 UTC 2015 - coolo@suse.com
- updated to 0.17023
see /usr/share/doc/packages/perl-Error/ChangeLog
Feb 12 2015 <shlomif@shlomifish.org> (Shlomi Fish)
Error.pm #0.17023
- Minimal version of Module-Build reduced to 0.280801
- https://rt.cpan.org/Public/Bug/Display.html?id=102062
-------------------------------------------------------------------
Sun Feb 9 13:33:36 UTC 2014 - coolo@suse.com
- updated to 0.17022
- Add "use warnings;" to everything (CPANTS Kwalitee).
- Add a separate LICENSE file (CPANTS Kwalitee).
-------------------------------------------------------------------
Fri Oct 4 09:14:23 UTC 2013 - coolo@suse.com
- updated to 0.17021
Error.pm #0.17021
- Fix for the format of the new Carp (in bleadperl)
- https://rt.cpan.org/Ticket/Display.html?id=88137
- Thanks to Zefram for the report and patch.
-------------------------------------------------------------------
Tue Jun 4 08:44:23 UTC 2013 - coolo@suse.com
- updated to 0.17020
Error.pm #0.17020
- Correct typos.
- https://rt.cpan.org/Ticket/Display.html?id=85023
Error.pm #0.17019
- Change to Shlomi Fish's new E-mail and web address.
- Clarify the licence of lib/Error/Simple.pm .
- https://rt.cpan.org/Ticket/Display.html?id=81277
- Thanks to Marcela
Error.pm #0.17018
- Add a $VERSION variable for Error::Simple.
- thanks to Kevin Dawson for the report.
- Add scripts/bump-version-number.pl .
- This can be used to bump the version numbers globally.
-------------------------------------------------------------------
Mon Feb 13 02:36:29 UTC 2012 - vcizek@suse.com
- update to 0.17017
- Bleadperl broke Error.pm's tests -
- https://rt.cpan.org/Ticket/Display.html?id=74770
- Applied a patch to check for optional trailing periods.
- Thanks to ANDK for the report and RURBAN for the patch
-------------------------------------------------------------------
Fri Nov 18 11:09:03 UTC 2011 - coolo@suse.com
- use original .tar.gz
-------------------------------------------------------------------
Tue Nov 30 19:20:12 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Wed Nov 24 19:16:59 UTC 2010 - chris@computersalat.de
- recreated by cpanspec 1.78
o fix deps
- noarch pkg
- added bcond_with pod
-------------------------------------------------------------------
Wed Jan 13 16:38:05 CET 2010 - anicka@suse.cz
- update to 0.17016
* Mentioned the lack of compatibility of "use Error qw(:try)" with Moose.
Fixed: https://rt.cpan.org/Ticket/Display.html?id=46364
* Added TryCatch and Try::Tiny to the "SEE ALSO".
* Add the WARNING that this module is no longer recommended.
-------------------------------------------------------------------
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
- enable parallel build
-------------------------------------------------------------------
Wed Sep 10 17:01:50 CEST 2008 - anicka@suse.cz
- update to 0.17015
* Added the "SEE ALSO" section to the Error.pm POD mentioning
Exception::Class and Error::Exception.
* Made Makefile.PL require perl-5.6.0 and above.
-------------------------------------------------------------------
Thu Jul 24 17:12:45 CEST 2008 - anicka@suse.cz
- package created (version 0.17012)

69
perl-Error.spec Normal file
View File

@ -0,0 +1,69 @@
#
# spec file for package perl-Error
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Error
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
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
BuildRequires: perl
BuildRequires: perl-macros
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
The 'Error' package provides two interfaces. Firstly 'Error' provides a
procedural interface to exception handling. Secondly 'Error' is a base
class for errors/exceptions that can either be thrown, for subsequent
catch, or can simply be recorded.
Errors in the class 'Error' should not be thrown directly, but the user
should throw errors from a sub-class of 'Error'.
%prep
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%doc ChangeLog Changes examples README
%license LICENSE
%changelog