From cb73a5416bc40f02592503d0c7521c121a5647b0 Mon Sep 17 00:00:00 2001 From: tinita <> Date: May 14 2025 13:34:46 +0000 Subject: Update perl-Hook-LexWrap to version 0.260.0 / rev 13 via SR 1276522 https://build.opensuse.org/request/show/1276522 by user tinita + anag_factory - Normalize CPAN version See https://github.com/openSUSE/cpanspec/issues/47 for details --- diff --git a/.files b/.files index ae820c9..44da5d7 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index e4897d8..c05052e 100644 --- a/.rev +++ b/.rev @@ -89,4 +89,14 @@ <comment>1</comment> <requestid>477080</requestid> </revision> + <revision rev="13" vrev="1"> + <srcmd5>0d320fc936b61bf390a89f77c2bd74c5</srcmd5> + <version>0.260.0</version> + <time>1747061165</time> + <user>anag_factory</user> + <comment>- Normalize CPAN version + See https://github.com/openSUSE/cpanspec/issues/47 for details +</comment> + <requestid>1276522</requestid> + </revision> </revisionlist> diff --git a/perl-Hook-LexWrap.changes b/perl-Hook-LexWrap.changes index 792d19a..1241319 100644 --- a/perl-Hook-LexWrap.changes +++ b/perl-Hook-LexWrap.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Sat May 10 23:08:30 UTC 2025 - Tina Müller <tina.mueller@suse.com> + +- Normalize CPAN version + See https://github.com/openSUSE/cpanspec/issues/47 for details + +------------------------------------------------------------------- Fri Feb 24 06:41:29 UTC 2017 - coolo@suse.com - updated to 0.26 diff --git a/perl-Hook-LexWrap.spec b/perl-Hook-LexWrap.spec index 7f840c5..fbfe56f 100644 --- a/perl-Hook-LexWrap.spec +++ b/perl-Hook-LexWrap.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Hook-LexWrap # -# Copyright (c) 2017 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 @@ -12,24 +12,26 @@ # 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/ # +%define cpan_name Hook-LexWrap Name: perl-Hook-LexWrap -Version: 0.26 +Version: 0.260.0 Release: 0 -%define cpan_name Hook-LexWrap +# 0.26 -> normalize -> 0.260.0 +%define cpan_version 0.26 +License: Artistic-1.0 OR GPL-1.0-or-later Summary: Lexically scoped subroutine wrappers -License: Artistic-1.0 or GPL-1.0+ -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Hook-LexWrap/ -Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +Provides: perl(Hook::LexWrap) = %{version} +%undefine __perllib_provides %{perl_requires} %description @@ -79,14 +81,14 @@ The pre- and post-wrappers and the original subroutine also all see the same (correct!) values from 'caller' and 'wantarray'. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} -p1 %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 @@ -94,7 +96,6 @@ same (correct!) values from 'caller' and 'wantarray'. %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes CONTRIBUTING README %license LICENSE