[5744] | 1 | Name: perl-Hook-LexWrap |
---|
[9089] | 2 | Version: 0.24 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
[5744] | 4 | Summary: Lexically scoped subroutine wrappers |
---|
| 5 | |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | License: GPL+ or Artistic |
---|
| 8 | URL: http://search.cpan.org/dist/Hook-LexWrap/ |
---|
[9089] | 9 | Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Hook-LexWrap-%{version}.tar.gz |
---|
[5744] | 10 | |
---|
[9089] | 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[5744] | 12 | BuildArch: noarch |
---|
[9089] | 13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 14 | BuildRequires: perl(Test::More) |
---|
| 15 | BuildRequires: perl(Test::Pod) |
---|
[5744] | 16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 17 | |
---|
| 18 | Vendor: Project Vine |
---|
| 19 | Distribution: Vine Linux |
---|
| 20 | Packager: shaolin |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | Hook::LexWrap allows you to install a pre- or post-wrapper (or both) |
---|
| 24 | around an existing subroutine. Unlike other modules that provide this |
---|
| 25 | capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap |
---|
| 26 | implements wrappers in such a way that the standard `caller' function |
---|
| 27 | works correctly within the wrapped subroutine. |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q -n Hook-LexWrap-%{version} |
---|
| 32 | |
---|
| 33 | %build |
---|
| 34 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 35 | make %{?_smp_mflags} |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %install |
---|
[5796] | 39 | rm -rf %{buildroot} |
---|
| 40 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 41 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 42 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' |
---|
| 43 | chmod -R u+w %{buildroot}/* |
---|
[5744] | 44 | |
---|
| 45 | |
---|
| 46 | %check |
---|
| 47 | make test |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %clean |
---|
[5796] | 51 | rm -rf %{buildroot} |
---|
[5744] | 52 | |
---|
| 53 | |
---|
| 54 | %files |
---|
| 55 | %defattr(-,root,root,-) |
---|
| 56 | %doc Changes README |
---|
| 57 | %{perl_vendorlib}/Hook/ |
---|
| 58 | %{_mandir}/man3/*.3pm* |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %changelog |
---|
[9089] | 62 | * Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.24-1 |
---|
| 63 | - updated to 0.24 |
---|
| 64 | - built with perl 5.16.3 |
---|
| 65 | |
---|
[5796] | 66 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.22-2 |
---|
| 67 | - rebuild |
---|
| 68 | |
---|
[5744] | 69 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.22-1 |
---|
| 70 | - initial build for Vine Linux |
---|
| 71 | |
---|
| 72 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-9 |
---|
| 73 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 74 | |
---|
| 75 | * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.22-8 |
---|
| 76 | - Perl mass rebuild |
---|
| 77 | |
---|
| 78 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-7 |
---|
| 79 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 80 | |
---|
| 81 | * Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-6 |
---|
| 82 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 83 | |
---|
| 84 | * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-5 |
---|
| 85 | - Mass rebuild with perl-5.12.0 |
---|
| 86 | |
---|
| 87 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.22-4 |
---|
| 88 | - rebuild against perl 5.10.1 |
---|
| 89 | |
---|
| 90 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-3 |
---|
| 91 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 92 | |
---|
| 93 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2 |
---|
| 94 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 95 | |
---|
| 96 | * Sat Feb 21 2009 Ralf Corsepius <corsepiu@fedoraproject.org> - 0.22-1 |
---|
| 97 | - Upstream update. |
---|
| 98 | - Reflect upstream having fixed CPAN RT#38892: |
---|
| 99 | Remove Hook-LexWrap-0.21-cpan-rt-38892.diff. |
---|
| 100 | - Reflect upstream having fixed permissions. |
---|
| 101 | |
---|
| 102 | * Mon Nov 10 2008 Paul Howarth <paul@city-fan.org> - 0.21-1 |
---|
| 103 | - Update to 0.21 |
---|
| 104 | - New upstream maintainer => new source URL |
---|
| 105 | - Add buildreqs perl(Test::More) and perl(Test::Pod) |
---|
| 106 | - Update patch for CPAN RT#38892 to apply without fuzz |
---|
| 107 | - Fix argument order for find with -depth |
---|
| 108 | |
---|
| 109 | * Mon Oct 06 2008 Ralf Corsepius <corsepiu@fedoraproject.org> - 0.20-6 |
---|
| 110 | - Add Hook-LexWrap-0.20-cpan-rt-38892.diff to fix |
---|
| 111 | http://rt.cpan.org/Public/Bug/Display.html?id=38892 |
---|
| 112 | (Bugs shows while building rt3). |
---|
| 113 | |
---|
| 114 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.20-5 |
---|
| 115 | - Rebuild for perl 5.10 (again) |
---|
| 116 | |
---|
| 117 | * Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.20-4.2 |
---|
| 118 | - rebuild for new perl |
---|
| 119 | |
---|
| 120 | * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.20-4.1 |
---|
| 121 | - correct license tag |
---|
| 122 | - add BR: perl(ExtUtils::MakeMaker) |
---|
| 123 | |
---|
| 124 | * Fri Sep 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-4 |
---|
| 125 | - Rebuild for FC6. |
---|
| 126 | |
---|
| 127 | * Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-3 |
---|
| 128 | - Rebuild for FC5 (perl 5.8.8). |
---|
| 129 | |
---|
| 130 | * Fri Sep 9 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-2 |
---|
| 131 | - Comment about license files location. |
---|
| 132 | |
---|
| 133 | * Fri Aug 26 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1 |
---|
| 134 | - First build. |
---|