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