[5706] | 1 | Name: perl-Task-Weaken |
---|
[12120] | 2 | Version: 1.06 |
---|
| 3 | Release: 1%{?_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) |
---|
[12120] | 13 | BuildRequires: perl(File::Spec) |
---|
| 14 | BuildRequires: perl(Scalar::Util) |
---|
[5706] | 15 | BuildRequires: perl(Test::More) |
---|
| 16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
[12120] | 17 | Requires: perl(Scalar::Util) |
---|
[5706] | 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,-) |
---|
[12120] | 56 | %license LICENSE |
---|
| 57 | %doc Changes README |
---|
[5794] | 58 | %{perl_vendorlib}/Task/*.pm |
---|
[5706] | 59 | %{_mandir}/man3/* |
---|
| 60 | |
---|
| 61 | %changelog |
---|
[12120] | 62 | * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.06-1 |
---|
| 63 | - new upstream release. |
---|
| 64 | - rebuilt with perl-5.26. |
---|
| 65 | |
---|
[9081] | 66 | * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.04-3 |
---|
| 67 | - rebuilt with perl 5.16.3 |
---|
| 68 | |
---|
[5794] | 69 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.04-2 |
---|
| 70 | - rebuild |
---|
| 71 | |
---|
[5706] | 72 | * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.04-1 |
---|
| 73 | - initial package for Vine Linux |
---|
| 74 | |
---|
| 75 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-2 |
---|
| 76 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 77 | |
---|
| 78 | * Sun Oct 09 2011 Iain Arnell <iarnell@gmail.com> 1.04-1 |
---|
| 79 | - update to latest upstream version |
---|
| 80 | - explicity require perl(Scalar::Util) |
---|
| 81 | |
---|
| 82 | * Thu Jun 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.02-11 |
---|
| 83 | - Perl mass rebuild |
---|
| 84 | |
---|
| 85 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-10 |
---|
| 86 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 87 | |
---|
| 88 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.02-9 |
---|
| 89 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 90 | |
---|
| 91 | * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.02-8 |
---|
| 92 | - Mass rebuild with perl-5.12.0 |
---|
| 93 | |
---|
| 94 | * Tue Feb 9 2010 Stepan Kasal <skasal@redhat.com> - 1.02-7 |
---|
| 95 | - fix the license tag |
---|
| 96 | |
---|
| 97 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.02-6 |
---|
| 98 | - rebuild against perl 5.10.1 |
---|
| 99 | |
---|
| 100 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-5 |
---|
| 101 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 102 | |
---|
| 103 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-4 |
---|
| 104 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 105 | |
---|
| 106 | * Sat Jun 07 2008 Caolán McNamara <caolanm@redhat.com> 1.02-3 |
---|
| 107 | - rebuild for dependancies |
---|
| 108 | |
---|
| 109 | * Fri Mar 28 2008 Simon Wilkinson <simon@sxw.org.uk> 1.02-2 |
---|
| 110 | - Fix license tag |
---|
| 111 | |
---|
| 112 | * Thu Mar 27 2008 Simon Wilkinson <simon@sxw.org.uk> 1.02-1 |
---|
| 113 | - Specfile autogenerated by cpanspec 1.73. |
---|