[5706] | 1 | Name: perl-Task-Weaken |
---|
| 2 | Version: 1.04 |
---|
[9081] | 3 | Release: 3%{?_dist_release} |
---|
[5706] | 4 | Summary: Ensure that a platform has weaken support |
---|
| 5 | License: Artistic or GPL+ |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/Task-Weaken/ |
---|
| 8 | Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Task-Weaken-%{version}.tar.gz |
---|
[9081] | 9 | |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[5706] | 11 | BuildArch: noarch |
---|
| 12 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 13 | BuildRequires: perl(File::Spec) >= 0.80 |
---|
| 14 | BuildRequires: perl(Scalar::Util) >= 1.14 |
---|
| 15 | BuildRequires: perl(Test::More) |
---|
| 16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 17 | Requires: perl(Scalar::Util) >= 1.14 |
---|
| 18 | |
---|
| 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | Packager: shaolin |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | One recurring problem in modules that use Scalar::Util's weaken function is |
---|
| 25 | that it is not present in the pure-perl variant. |
---|
| 26 | |
---|
| 27 | This restores the functionality testing to a dependency you do once in |
---|
| 28 | your Makefile.PL, rather than something you have to write extra tests |
---|
| 29 | for each time you write a module. |
---|
| 30 | |
---|
| 31 | %prep |
---|
| 32 | %setup -q -n Task-Weaken-%{version} |
---|
| 33 | |
---|
| 34 | %build |
---|
[5794] | 35 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
[5706] | 36 | make %{?_smp_mflags} |
---|
| 37 | |
---|
| 38 | %install |
---|
| 39 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 40 | |
---|
| 41 | make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT} |
---|
| 42 | |
---|
| 43 | find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} \; |
---|
| 44 | find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
| 45 | |
---|
| 46 | %{_fixperms} ${RPM_BUILD_ROOT}/* |
---|
| 47 | |
---|
| 48 | %check |
---|
| 49 | make test |
---|
| 50 | |
---|
| 51 | %clean |
---|
| 52 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 53 | |
---|
| 54 | %files |
---|
| 55 | %defattr(-,root,root,-) |
---|
| 56 | %doc Changes LICENSE README |
---|
[5794] | 57 | %{perl_vendorlib}/Task/*.pm |
---|
[5706] | 58 | %{_mandir}/man3/* |
---|
| 59 | |
---|
| 60 | %changelog |
---|
[9081] | 61 | * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.04-3 |
---|
| 62 | - rebuilt with perl 5.16.3 |
---|
| 63 | |
---|
[5794] | 64 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.04-2 |
---|
| 65 | - rebuild |
---|
| 66 | |
---|
[5706] | 67 | * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.04-1 |
---|
| 68 | - initial package for Vine Linux |
---|
| 69 | |
---|
| 70 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-2 |
---|
| 71 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 72 | |
---|
| 73 | * Sun Oct 09 2011 Iain Arnell <iarnell@gmail.com> 1.04-1 |
---|
| 74 | - update to latest upstream version |
---|
| 75 | - explicity require perl(Scalar::Util) |
---|
| 76 | |
---|
| 77 | * Thu Jun 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.02-11 |
---|
| 78 | - Perl mass rebuild |
---|
| 79 | |
---|
| 80 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-10 |
---|
| 81 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 82 | |
---|
| 83 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.02-9 |
---|
| 84 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 85 | |
---|
| 86 | * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.02-8 |
---|
| 87 | - Mass rebuild with perl-5.12.0 |
---|
| 88 | |
---|
| 89 | * Tue Feb 9 2010 Stepan Kasal <skasal@redhat.com> - 1.02-7 |
---|
| 90 | - fix the license tag |
---|
| 91 | |
---|
| 92 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.02-6 |
---|
| 93 | - rebuild against perl 5.10.1 |
---|
| 94 | |
---|
| 95 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-5 |
---|
| 96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 97 | |
---|
| 98 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-4 |
---|
| 99 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 100 | |
---|
| 101 | * Sat Jun 07 2008 Caolán McNamara <caolanm@redhat.com> 1.02-3 |
---|
| 102 | - rebuild for dependancies |
---|
| 103 | |
---|
| 104 | * Fri Mar 28 2008 Simon Wilkinson <simon@sxw.org.uk> 1.02-2 |
---|
| 105 | - Fix license tag |
---|
| 106 | |
---|
| 107 | * Thu Mar 27 2008 Simon Wilkinson <simon@sxw.org.uk> 1.02-1 |
---|
| 108 | - Specfile autogenerated by cpanspec 1.73. |
---|