1 | Name: perl-Task-Weaken |
---|
2 | Version: 1.04 |
---|
3 | Release: 2%{?_dist_release} |
---|
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 |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
10 | BuildArch: noarch |
---|
11 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
12 | BuildRequires: perl(File::Spec) >= 0.80 |
---|
13 | BuildRequires: perl(Scalar::Util) >= 1.14 |
---|
14 | BuildRequires: perl(Test::More) |
---|
15 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
16 | |
---|
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 |
---|
35 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
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 |
---|
57 | %{perl_vendorlib}/Task/*.pm |
---|
58 | %{_mandir}/man3/* |
---|
59 | |
---|
60 | %changelog |
---|
61 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.04-2 |
---|
62 | - rebuild |
---|
63 | |
---|
64 | * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.04-1 |
---|
65 | - initial package for Vine Linux |
---|
66 | |
---|
67 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-2 |
---|
68 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
69 | |
---|
70 | * Sun Oct 09 2011 Iain Arnell <iarnell@gmail.com> 1.04-1 |
---|
71 | - update to latest upstream version |
---|
72 | - explicity require perl(Scalar::Util) |
---|
73 | |
---|
74 | * Thu Jun 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.02-11 |
---|
75 | - Perl mass rebuild |
---|
76 | |
---|
77 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-10 |
---|
78 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
79 | |
---|
80 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.02-9 |
---|
81 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
82 | |
---|
83 | * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.02-8 |
---|
84 | - Mass rebuild with perl-5.12.0 |
---|
85 | |
---|
86 | * Tue Feb 9 2010 Stepan Kasal <skasal@redhat.com> - 1.02-7 |
---|
87 | - fix the license tag |
---|
88 | |
---|
89 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.02-6 |
---|
90 | - rebuild against perl 5.10.1 |
---|
91 | |
---|
92 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-5 |
---|
93 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
94 | |
---|
95 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-4 |
---|
96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
97 | |
---|
98 | * Sat Jun 07 2008 Caolán McNamara <caolanm@redhat.com> 1.02-3 |
---|
99 | - rebuild for dependancies |
---|
100 | |
---|
101 | * Fri Mar 28 2008 Simon Wilkinson <simon@sxw.org.uk> 1.02-2 |
---|
102 | - Fix license tag |
---|
103 | |
---|
104 | * Thu Mar 27 2008 Simon Wilkinson <simon@sxw.org.uk> 1.02-1 |
---|
105 | - Specfile autogenerated by cpanspec 1.73. |
---|