From 2efdcd7fa05a4babd3dd269e7002f7fca92660dbdddf0df40e70ee2c37bf9ee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 18:47:11 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main perl-Sub-Uplevel revision 5a6150bf2a213ca0dd6a0927e9cd224a --- .gitattributes | 23 ++++++ Sub-Uplevel-0.2800.tar.gz | 3 + perl-Sub-Uplevel.changes | 146 ++++++++++++++++++++++++++++++++++++++ perl-Sub-Uplevel.spec | 60 ++++++++++++++++ 4 files changed, 232 insertions(+) create mode 100644 .gitattributes create mode 100644 Sub-Uplevel-0.2800.tar.gz create mode 100644 perl-Sub-Uplevel.changes create mode 100644 perl-Sub-Uplevel.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/Sub-Uplevel-0.2800.tar.gz b/Sub-Uplevel-0.2800.tar.gz new file mode 100644 index 0000000..74a4fcd --- /dev/null +++ b/Sub-Uplevel-0.2800.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4f3f63b80f680a421332d8851ddbe5a8e72fcaa74d5d1d98f3c8cc4a3ece293 +size 28361 diff --git a/perl-Sub-Uplevel.changes b/perl-Sub-Uplevel.changes new file mode 100644 index 0000000..34c2d01 --- /dev/null +++ b/perl-Sub-Uplevel.changes @@ -0,0 +1,146 @@ +------------------------------------------------------------------- +Fri Sep 14 08:42:11 UTC 2018 - pmonrealgonzalez@suse.com + +- update to 0.2800 + - No changes from 0.2700-TRIAL + +- 0.2700 2017-03-30 10:09:46-04:00 America/New_York (TRIAL RELEASE) + [Fixed] + - Tests now work if '.' is not in @INC + +- 0.2600 2016-08-05 10:46:37-04:00 America/New_York + - No changes from 0.2501-TRIAL + +- 0.2501 2016-07-29 16:18:45-04:00 America/New_York (TRIAL RELEASE) + [Internal] + - Optimized calls to caller() + +- 0.25 2015-01-26 20:32:52-05:00 America/New_York + [Fixed] + - fixed: 00-compile.t failures under Windows (bug #98230). + The 00-compile.t file has been moved to a release test and is + no longer shipped. [Michael Gray] + [Meta] + - moved bug tracker to Github + - updated repo files explaining how to contribute + - enabled Travis CI + +- Cleaned with spec-cleaner + +------------------------------------------------------------------- +Mon Apr 15 10:41:17 UTC 2013 - idonmez@suse.com + +- Add Source URL, see https://en.opensuse.org/SourceUrls + +------------------------------------------------------------------- +Wed Feb 22 02:35:49 UTC 2012 - vcizek@suse.com + +- update to 0.24 + - fixed: additional test regex fixed + - fixed: Perl 5.15 series Carp changes output format of messages (adds + a period). This fixes the test regular expressions. [Andreas Koenig] + - added: the $Sub::Uplevel::CHECK_FRAMES global constant to enable the + frame depth checking and compile it out if not needed. [Adam + Kennedy] + +------------------------------------------------------------------- +Fri Nov 18 11:07:55 UTC 2011 - coolo@suse.com + +- use original .tar.gz + +------------------------------------------------------------------- +Tue Nov 30 19:20:46 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + +------------------------------------------------------------------- +Wed Aug 11 11:13:39 UTC 2010 - chris@computersalat.de + +- update to 0.22 + - meta: added repository to metadata [Alexandr Ciornii] +- 0.21_01 Sat Nov 29 15:24:49 EST 2008 + - added: the ":aggressive" tag may be used to force reloading of + Exporter, which often binds caller() prior to Sub::Uplevel's global + override +- recreated by cpanspec 1.78 + o change to Build.PL +- fix version mismatch + o http://www.dagolden.com/index.php/369/version-numbers-should-be-boring/ + perl modules normaly use "decimal versioning", but for rpm + we need "decimal dotted versioning", hence the decimal 0.22 + has to be normalized to decimal dotted 0.220.0 + perl -e "print version->new(0.22)->normal" | sed "s/v//" + o without doing this (latest) 0.22 < 0.2002 (previous) + normalized: 0.220.0 > 0.200.200 +- noarch pkg + +------------------------------------------------------------------- +Sun Dec 20 16:43:49 CET 2009 - jengelh@medozas.de + +- enable parallel build + +------------------------------------------------------------------- +Sat Jul 25 19:42:19 CEST 2009 - chris@computersalat.de + +- spec mods + * removed ^---------- + * removed ^#--------- + +------------------------------------------------------------------- +Wed Jul 1 13:41:09 CEST 2009 - chris@computersalat.de + +- added perl-macros + o autogen filelist with perl_gen_filelist +- spec mods + o added header + o fixed deps + +------------------------------------------------------------------- +Fri Sep 12 12:53:17 CEST 2008 - anicka@suse.cz + +- update to 0.2002 + * changed: removed Exporter dependency + * test fix: fixed strange t/07_uplevel_too_high.t fail on Win32 + +------------------------------------------------------------------- +Wed Sep 10 16:59:31 CEST 2008 - anicka@suse.cz + +- update to 0.2001 + * test fix: changed prior override test to be more robust (SCHWERN) + * changed: bumped perl requirement to 5.006 and stopped using vars + (fixes a test bug under Test::More > 0.80) + * fixed: load Carp only as needed (fixes problem on 5.005) + * added: uplevel will warn if uplevel request is more than the call + stack depth + +------------------------------------------------------------------- +Mon Feb 25 13:45:37 CET 2008 - anicka@suse.cz + +- update to 0.1901 + * hides the "DB" package from indexers + (DB used to support @DB::args) + * bug fix: replacement caller() correctly sets @DB::args if calling + package is DB + * repackaging: custom Build.PL, moved all author tests to xt/, + added LICENSE and INSTALL files + +------------------------------------------------------------------- +Thu Nov 1 15:44:09 CET 2007 - anicka@suse.cz + +- update to 0.18 + * removed 5.006-specific language and tested on prerelease 5.00505 + +------------------------------------------------------------------- +Mon Oct 8 09:25:50 CEST 2007 - anicka@suse.cz + +- update to 0.16 + * Won't override any existing CORE::GLOBAL::caller when loaded + * Localize global caller() override to the scope of the uplevel() + call so it can play nicer with things like Contextual::Return + and Hook::LexWrap that also override caller() + +------------------------------------------------------------------- +Thu Jun 14 18:10:23 CEST 2007 - anicka@suse.cz + +- package created (version 0.14) + diff --git a/perl-Sub-Uplevel.spec b/perl-Sub-Uplevel.spec new file mode 100644 index 0000000..066cb69 --- /dev/null +++ b/perl-Sub-Uplevel.spec @@ -0,0 +1,60 @@ +# +# spec file for package perl-Sub-Uplevel +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +%define cpan_name Sub-Uplevel +Name: perl-Sub-Uplevel +Version: 0.2800 +Release: 0 +Summary: Apparently run a function in a higher stack frame +License: GPL-1.0-or-later OR Artistic-1.0 +Group: Development/Libraries/Perl +Url: https://metacpan.org/release/%{cpan_name} +Source: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Carp) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::More) >= 0.47 +BuildArch: noarch +%{perl_requires} + +%description +Like Tcl's uplevel() function, but not quite so dangerous. The idea is +just to fool caller(). All the really naughty bits of Tcl's uplevel() +are avoided. + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build + +%check +make %{?_smp_mflags} test + +%install +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -Wall" +make %{?_smp_mflags} +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%license LICENSE +%doc Changes examples README xt + +%changelog