From 4fca1a0e4d6423a267330da54fe8d2aef7f33010486d6458fb9dfb549014e4f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 1 Oct 2024 08:50:12 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main perl-Sub-Override revision e32cd2b4434a63cafb6aba8fc592a64f --- Sub-Override-0.09.tar.gz | 3 --- Sub-Override-0.12.tar.gz | 3 +++ perl-Sub-Override.changes | 28 ++++++++++++++++++++++++++++ perl-Sub-Override.spec | 31 ++++++++++++++++--------------- 4 files changed, 47 insertions(+), 18 deletions(-) delete mode 100644 Sub-Override-0.09.tar.gz create mode 100644 Sub-Override-0.12.tar.gz diff --git a/Sub-Override-0.09.tar.gz b/Sub-Override-0.09.tar.gz deleted file mode 100644 index 743b213..0000000 --- a/Sub-Override-0.09.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:939a67c1f729968e0cc81b74958db750e1bdb7c020bee1a263332f422c2e25b5 -size 6462 diff --git a/Sub-Override-0.12.tar.gz b/Sub-Override-0.12.tar.gz new file mode 100644 index 0000000..f3ca452 --- /dev/null +++ b/Sub-Override-0.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d922dc6ef0e51f6385e111310845c3393be6b7a4d4ebda2a9e47c05bf62f79e3 +size 9003 diff --git a/perl-Sub-Override.changes b/perl-Sub-Override.changes index 8ceac69..c015298 100644 --- a/perl-Sub-Override.changes +++ b/perl-Sub-Override.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Sun Jun 23 16:48:07 UTC 2024 - Tina Müller + +- updated to 0.120.0 (0.12) + see /usr/share/doc/packages/perl-Sub-Override/Changes + + 0.12 Mon Jun 17 2024 + - Add 'inject' method which can inject a new subroutine into a namespace. + - Add 'inherit' method which can inherit a subroutine from a parent object. + - Bug fix for wrap not restoring during destruction. + - Internal cleanup. + + 0.11 Tue May 14 2024 + - Update the 'wrap' routine so it handles prototypes transparently. + - Update the 'wrap' routine to prevent creation of an extra stack frame. + - Minor doc updates. + +------------------------------------------------------------------- +Fri Mar 8 23:04:42 UTC 2024 - Tina Müller + +- Fix disabling of __perllib_provides + +------------------------------------------------------------------- +Wed Dec 6 03:07:31 UTC 2023 - Tina Müller + +- updated to 0.10 + see /usr/share/doc/packages/perl-Sub-Override/Changes + ------------------------------------------------------------------- Tue Jun 4 17:18:39 UTC 2013 - coolo@suse.com diff --git a/perl-Sub-Override.spec b/perl-Sub-Override.spec index 931ddcd..42227f5 100644 --- a/perl-Sub-Override.spec +++ b/perl-Sub-Override.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Sub-Override # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,39 +12,41 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -Name: perl-Sub-Override -Version: 0.09 -Release: 0 %define cpan_name Sub-Override +Name: perl-Sub-Override +Version: 0.120.0 +Release: 0 +# 0.12 -> normalize -> 0.120.0 +%define cpan_version 0.12 +License: Artistic-1.0 OR GPL-1.0-or-later Summary: Perl extension for easily overriding subroutines -License: GPL-1.0+ or Artistic-1.0 -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Sub-Override/ -Source: http://www.cpan.org/authors/id/O/OV/OVID/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/M/MV/MVSJES/%{cpan_name}-%{cpan_version}.tar.gz BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::Fatal) >= 0.010 Requires: perl(Test::Fatal) >= 0.010 +Provides: perl(Sub::Override) = %{version} +%undefine __perllib_provides %{perl_requires} %description Perl extension for easily overriding subroutines %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -52,7 +54,6 @@ Perl extension for easily overriding subroutines %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README README.md %changelog