|
|
3508fe9 |
Name: perl-Hook-LexWrap
|
|
|
8e5590f |
Version: 0.26
|
|
|
18dd455 |
Release: 16%{?dist}
|
|
|
3508fe9 |
Summary: Lexically scoped subroutine wrappers
|
|
|
24fa68e |
License: GPL+ or Artistic
|
|
|
d6b8017 |
URL: https://metacpan.org/release/Hook-LexWrap
|
|
|
d6b8017 |
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Hook-LexWrap-%{version}.tar.gz
|
|
|
3508fe9 |
BuildArch: noarch
|
|
|
c5e5e1f |
# Module Build
|
|
|
8e5590f |
BuildRequires: coreutils
|
|
|
8e5590f |
BuildRequires: findutils
|
|
|
8e5590f |
BuildRequires: make
|
|
|
ede2b90 |
BuildRequires: perl-interpreter
|
|
|
4696113 |
BuildRequires: perl-generators
|
|
|
99976f8 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
c5e5e1f |
# Module Runtime
|
|
|
c5e5e1f |
BuildRequires: perl(Carp)
|
|
|
c5e5e1f |
BuildRequires: perl(overload)
|
|
|
c5e5e1f |
BuildRequires: perl(strict)
|
|
|
c5e5e1f |
BuildRequires: perl(warnings)
|
|
|
c5e5e1f |
# Test Suite
|
|
|
c5e5e1f |
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
|
|
c5e5e1f |
BuildRequires: perl(File::Spec)
|
|
|
99976f8 |
BuildRequires: perl(Test::More)
|
|
|
c5e5e1f |
BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
c5e5e1f |
# Runtime
|
|
|
99976f8 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
3508fe9 |
|
|
|
3508fe9 |
%description
|
|
|
3508fe9 |
Hook::LexWrap allows you to install a pre- or post-wrapper (or both)
|
|
|
3508fe9 |
around an existing subroutine. Unlike other modules that provide this
|
|
|
3508fe9 |
capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap
|
|
|
3508fe9 |
implements wrappers in such a way that the standard `caller' function
|
|
|
3508fe9 |
works correctly within the wrapped subroutine.
|
|
|
3508fe9 |
|
|
|
3508fe9 |
%prep
|
|
|
3508fe9 |
%setup -q -n Hook-LexWrap-%{version}
|
|
|
3508fe9 |
|
|
|
3508fe9 |
%build
|
|
|
c5e5e1f |
PERL_MM_FALLBACK_SILENCE_WARNING=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
|
3508fe9 |
make %{?_smp_mflags}
|
|
|
3508fe9 |
|
|
|
3508fe9 |
%install
|
|
|
99976f8 |
rm -rf %{buildroot}
|
|
|
99976f8 |
make pure_install DESTDIR=%{buildroot}
|
|
|
8e5590f |
find %{buildroot} -type f -name .packlist -delete
|
|
|
8e5590f |
%{_fixperms} -c %{buildroot}
|
|
|
3508fe9 |
|
|
|
3508fe9 |
%check
|
|
|
3508fe9 |
make test
|
|
|
3508fe9 |
|
|
|
3508fe9 |
%files
|
|
|
c5e5e1f |
%if 0%{?_licensedir:1}
|
|
|
c5e5e1f |
%license LICENSE
|
|
|
c5e5e1f |
%else
|
|
|
c5e5e1f |
%doc LICENSE
|
|
|
c5e5e1f |
%endif
|
|
|
c5e5e1f |
%doc Changes CONTRIBUTING README demo/
|
|
|
3508fe9 |
%{perl_vendorlib}/Hook/
|
|
|
8e5590f |
%{_mandir}/man3/Hook::LexWrap.3*
|
|
|
3508fe9 |
|
|
|
3508fe9 |
%changelog
|
|
|
18dd455 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-16
|
|
|
18dd455 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
18dd455 |
|
|
|
0f0a823 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-15
|
|
|
0f0a823 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
0f0a823 |
|
|
|
5a12593 |
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.26-14
|
|
|
5a12593 |
- Perl 5.34 rebuild
|
|
|
5a12593 |
|
|
|
a0e5711 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-13
|
|
|
a0e5711 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
a0e5711 |
|
|
|
8c99499 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-12
|
|
|
8c99499 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
8c99499 |
|
|
|
b631f8a |
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.26-11
|
|
|
b631f8a |
- Perl 5.32 rebuild
|
|
|
b631f8a |
|
|
|
82bb7da |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-10
|
|
|
82bb7da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
82bb7da |
|
|
|
13c0cc8 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-9
|
|
|
13c0cc8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
13c0cc8 |
|
|
|
e00e1b0 |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.26-8
|
|
|
e00e1b0 |
- Perl 5.30 rebuild
|
|
|
e00e1b0 |
|
|
|
44deb03 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-7
|
|
|
44deb03 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
44deb03 |
|
|
|
08a29a3 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-6
|
|
|
08a29a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
08a29a3 |
|
|
|
32eb4fd |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.26-5
|
|
|
32eb4fd |
- Perl 5.28 rebuild
|
|
|
32eb4fd |
|
|
|
88b78a4 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-4
|
|
|
88b78a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
88b78a4 |
|
|
|
ae6f431 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-3
|
|
|
ae6f431 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
ae6f431 |
|
|
|
090c47d |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.26-2
|
|
|
090c47d |
- Perl 5.26 rebuild
|
|
|
090c47d |
|
|
|
8e5590f |
* Thu Feb 23 2017 Paul Howarth <paul@city-fan.org> - 0.26-1
|
|
|
8e5590f |
- Update to 0.26
|
|
|
8e5590f |
- Properly wrap CORE::caller for @DB::args (CPAN RT#103186)
|
|
|
8e5590f |
|
|
|
908645e |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-6
|
|
|
908645e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
908645e |
|
|
|
8938e0a |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-5
|
|
|
8938e0a |
- Perl 5.24 rebuild
|
|
|
8938e0a |
|
|
|
e18047c |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-4
|
|
|
e18047c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
e18047c |
|
|
|
62ce0ae |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-3
|
|
|
62ce0ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
62ce0ae |
|
|
|
3dd1f1b |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-2
|
|
|
3dd1f1b |
- Perl 5.22 rebuild
|
|
|
3dd1f1b |
|
|
|
c5e5e1f |
* Tue Oct 21 2014 Paul Howarth <paul@city-fan.org> - 0.25-1
|
|
|
c5e5e1f |
- Update to 0.25
|
|
|
c5e5e1f |
- Fix for perl 5.21.4: ensure barewords are parsed properly (CPAN RT#99021,
|
|
|
c5e5e1f |
Perl RT#122757)
|
|
|
c5e5e1f |
- This release by ETHER → update source URL
|
|
|
c5e5e1f |
- Package new upstream documentation and license file
|
|
|
c5e5e1f |
- No longer need to fix line endings
|
|
|
c5e5e1f |
- Classify buildreqs by usage
|
|
|
c5e5e1f |
- Silence bogus warning about not having bleeding edge build modules
|
|
|
c5e5e1f |
|
|
|
4a89be5 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.24-6
|
|
|
4a89be5 |
- Perl 5.20 rebuild
|
|
|
4a89be5 |
|
|
|
ed2b85e |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-5
|
|
|
ed2b85e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
ed2b85e |
|
|
|
2e32646 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-4
|
|
|
2e32646 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
2e32646 |
|
|
|
376c1ee |
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.24-3
|
|
|
376c1ee |
- Perl 5.18 rebuild
|
|
|
376c1ee |
|
|
|
c9b4472 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-2
|
|
|
c9b4472 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
c9b4472 |
|
|
|
99976f8 |
* Tue Jul 24 2012 Paul Howarth <paul@city-fan.org> - 0.24-1
|
|
|
99976f8 |
- Update to 0.24
|
|
|
99976f8 |
- Add Build.PL
|
|
|
99976f8 |
- Better support for debugger
|
|
|
99976f8 |
- Makefile.PL fixed
|
|
|
99976f8 |
- New test added
|
|
|
99976f8 |
- BR: perl(Carp)
|
|
|
99976f8 |
- Include demo files as %%doc
|
|
|
99976f8 |
- Fix line endings on documentation
|
|
|
99976f8 |
- Upstream release is now a tarball rather than a zipfile
|
|
|
99976f8 |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
99976f8 |
- Don't need to remove empty directories from the buildroot
|
|
|
99976f8 |
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
99976f8 |
- Use %%{_fixperms} macro rather than our own chmod incantation
|
|
|
99976f8 |
- Don't use macros for commands
|
|
|
99976f8 |
- Make %%files list more explicit
|
|
|
99976f8 |
|
|
|
45d178e |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-11
|
|
|
45d178e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
45d178e |
|
|
|
576f001 |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.22-10
|
|
|
576f001 |
- Perl 5.16 rebuild
|
|
|
576f001 |
|
|
|
2ac80d7 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-9
|
|
|
2ac80d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
2ac80d7 |
|
|
|
0d4cc35 |
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.22-8
|
|
|
0d4cc35 |
- Perl mass rebuild
|
|
|
0d4cc35 |
|
|
|
83f8b17 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-7
|
|
|
83f8b17 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
83f8b17 |
|
|
|
56123c2 |
* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-6
|
|
|
56123c2 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
56123c2 |
|
|
|
c6295ba |
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-5
|
|
|
c6295ba |
- Mass rebuild with perl-5.12.0
|
|
|
c6295ba |
|
|
|
5ca550b |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.22-4
|
|
|
5ca550b |
- rebuild against perl 5.10.1
|
|
|
5ca550b |
|
|
|
2b71261 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-3
|
|
|
2b71261 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
2b71261 |
|
|
|
74344a5 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
|
|
|
74344a5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
74344a5 |
|
|
|
e0abd9f |
* Sat Feb 21 2009 Ralf Corsepius <corsepiu@fedoraproject.org> - 0.22-1
|
|
|
e0abd9f |
- Upstream update.
|
|
|
e0abd9f |
- Reflect upstream having fixed CPAN RT#38892:
|
|
|
e0abd9f |
Remove Hook-LexWrap-0.21-cpan-rt-38892.diff.
|
|
|
e0abd9f |
- Reflect upstream having fixed permissions.
|
|
|
e0abd9f |
|
|
|
1349f8f |
* Mon Nov 10 2008 Paul Howarth <paul@city-fan.org> - 0.21-1
|
|
|
1349f8f |
- Update to 0.21
|
|
|
1349f8f |
- New upstream maintainer => new source URL
|
|
|
1349f8f |
- Add buildreqs perl(Test::More) and perl(Test::Pod)
|
|
|
1349f8f |
- Update patch for CPAN RT#38892 to apply without fuzz
|
|
|
1349f8f |
- Fix argument order for find with -depth
|
|
|
1349f8f |
|
|
|
eb8c225 |
* Mon Oct 06 2008 Ralf Corsepius <corsepiu@fedoraproject.org> - 0.20-6
|
|
|
eb8c225 |
- Add Hook-LexWrap-0.20-cpan-rt-38892.diff to fix
|
|
|
eb8c225 |
http://rt.cpan.org/Public/Bug/Display.html?id=38892
|
|
|
eb8c225 |
(Bugs shows while building rt3).
|
|
|
eb8c225 |
|
|
|
6e4727d |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.20-5
|
|
|
6e4727d |
- Rebuild for perl 5.10 (again)
|
|
|
6e4727d |
|
|
|
d7a11fb |
* Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.20-4.2
|
|
|
d7a11fb |
- rebuild for new perl
|
|
|
d7a11fb |
|
|
|
24fa68e |
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.20-4.1
|
|
|
24fa68e |
- correct license tag
|
|
|
24fa68e |
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
24fa68e |
|
|
|
38c5d67 |
* Fri Sep 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-4
|
|
|
38c5d67 |
- Rebuild for FC6.
|
|
|
38c5d67 |
|
|
|
7b3803b |
* Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-3
|
|
|
7b3803b |
- Rebuild for FC5 (perl 5.8.8).
|
|
|
7b3803b |
|
|
|
28b323d |
* Fri Sep 9 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-2
|
|
|
28b323d |
- Comment about license files location.
|
|
|
28b323d |
|
|
|
3508fe9 |
* Fri Aug 26 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
|
|
|
3508fe9 |
- First build.
|