From de3fbc06464975f40411345a1a54a02774a7be8c026590980c8cd2942358a2ab Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Wed, 19 Feb 2025 15:34:06 +0000 Subject: [PATCH] - 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 --- .gitattributes | 23 ++++++ .gitignore | 1 + Error-0.17029.tar.gz | 3 + Error-0.17030.tar.gz | 3 + cpanspec.yml | 20 +++++ perl-Error.changes | 180 +++++++++++++++++++++++++++++++++++++++++++ perl-Error.spec | 69 +++++++++++++++++ 7 files changed, 299 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Error-0.17029.tar.gz create mode 100644 Error-0.17030.tar.gz create mode 100644 cpanspec.yml create mode 100644 perl-Error.changes create mode 100644 perl-Error.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Error-0.17029.tar.gz b/Error-0.17029.tar.gz new file mode 100644 index 0000000..fd5016c --- /dev/null +++ b/Error-0.17029.tar.gz @@ -0,0 +1,3 @@ +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/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b320f5 --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/perl-Error.changes b/perl-Error.changes new file mode 100644 index 0000000..47d685e --- /dev/null +++ b/perl-Error.changes @@ -0,0 +1,180 @@ +------------------------------------------------------------------- +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 - + +- 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 + +- 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 + +- 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 (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 (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 (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) + diff --git a/perl-Error.spec b/perl-Error.spec new file mode 100644 index 0000000..41b51b1 --- /dev/null +++ b/perl-Error.spec @@ -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