update to 0.26 [release 0.26-1mamba;Mon Jan 10 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 09:08:38 +01:00
parent d3a87f3dee
commit a44fbe321c
2 changed files with 12 additions and 16 deletions

View File

@ -1,8 +1,4 @@
# perl-Hook-LexWrap # perl-Hook-LexWrap
Hook::LexWrap allows you to install a pre- or post-wrapper (or both) Hook::LexWrap allows you to install a pre- or post-wrapper (or both) around an existing subroutine. Unlike other modules that provide this capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap implements wrappers in such a way that the standard caller function works correctly within the wrapped subroutine.
around an existing subroutine. Unlike other modules that provide this
capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap
implements wrappers in such a way that the standard caller function
works correctly within the wrapped subroutine.

View File

@ -1,34 +1,31 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) %define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Hook-LexWrap Name: perl-Hook-LexWrap
Version: 0.22 Version: 0.26
Release: 1mamba Release: 1mamba
Summary: Hook::LexWrap - Lexically scoped subroutine wrappers Summary: Hook::LexWrap - Lexically scoped subroutine wrappers
Group: System/Libraries/Perl Group: System/Libraries/Perl
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: gil <puntogil@libero.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cpan.org URL: https://www.cpan.org/
Source: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Hook-LexWrap-%{version}.zip Source: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Hook-LexWrap-%{version}.tar.gz
License: GPL, Artistic License: GPL, Artistic
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod)
BuildRequires: perl-devel BuildRequires: perl-devel
Requires: perl >= %perl_major_ver Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Hook::LexWrap allows you to install a pre- or post-wrapper (or both) Hook::LexWrap allows you to install a pre- or post-wrapper (or both) around an existing subroutine. Unlike other modules that provide this capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap implements wrappers in such a way that the standard caller function works correctly within the wrapped subroutine.
around an existing subroutine. Unlike other modules that provide this
capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap
implements wrappers in such a way that the standard caller function
works correctly within the wrapped subroutine.
%prep %prep
%setup -q -n Hook-LexWrap-%{version} %setup -q -n Hook-LexWrap-%{version}
%build %build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make %make
@ -53,5 +50,8 @@ chmod -R u+w %{buildroot}/*
%doc Changes README %doc Changes README
%changelog %changelog
* Mon Jan 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.26-1mamba
- update to 0.26
* Fri Feb 18 2011 gil <puntogil@libero.it> 0.22-1mamba * Fri Feb 18 2011 gil <puntogil@libero.it> 0.22-1mamba
- package created by autospec - package created by autospec