source: projects/specs/trunk/p/perl-Task-Weaken/perl-Task-Weaken-vl.spec @ 12120

Revision 12120, 3.5 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1Name:           perl-Task-Weaken
2Version:        1.06
3Release:        1%{?_dist_release}
4Summary:        Ensure that a platform has weaken support
5License:        Artistic or GPL+
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Task-Weaken/
8Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/Task-Weaken-%{version}.tar.gz
9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11BuildArch:      noarch
12BuildRequires:  perl(ExtUtils::MakeMaker)
13BuildRequires:  perl(File::Spec)
14BuildRequires:  perl(Scalar::Util)
15BuildRequires:  perl(Test::More)
16Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17Requires:       perl(Scalar::Util)
18
19Vendor:         Project Vine
20Distribution:   Vine Linux
21Packager:       shaolin
22
23%description
24One recurring problem in modules that use Scalar::Util's weaken function is
25that it is not present in the pure-perl variant.
26
27This restores the functionality testing to a dependency you do once in
28your Makefile.PL, rather than something you have to write extra tests
29for 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
36make %{?_smp_mflags}
37
38%install
39rm -rf ${RPM_BUILD_ROOT}
40
41make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT}
42
43find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} \;
44find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \;
45
46%{_fixperms} ${RPM_BUILD_ROOT}/*
47
48%check
49make test
50
51%clean
52rm -rf ${RPM_BUILD_ROOT}
53
54%files
55%defattr(-,root,root,-)
56%license LICENSE
57%doc Changes README
58%{perl_vendorlib}/Task/*.pm
59%{_mandir}/man3/*
60
61%changelog
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
66* Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.04-3
67- rebuilt with perl 5.16.3
68
69* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.04-2
70- rebuild
71
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.
Note: See TracBrowser for help on using the repository browser.