source: projects/specs/trunk/p/perl-Try-Tiny/perl-Try-Tiny-vl.spec @ 9176

Revision 9176, 3.6 KB checked in by inagaki, 9 years ago (diff)

2014-12-21 Ryoichi INAGAKI <ryo1@…>

  • perl-Class-{Load, Load-XS}, perl-Try-Tiny: updated
  • perl-Crypt-SSLeay: rebuit


Line 
1Name:           perl-Try-Tiny
2Summary:        Minimal try/catch with proper localization of $@
3Version:        0.22
4Release:        1%{?_dist_release}
5License:        MIT
6Group:          Development/Libraries
7Source0:        http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Try-Tiny-%{version}.tar.gz
8URL:            http://search.cpan.org/dist/Try-Tiny
9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11BuildArch:      noarch
12BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
13BuildRequires:  perl(Pod::Coverage::TrustPod)
14BuildRequires:  perl(Test::More)
15BuildRequires:  perl(Test::NoTabs)
16BuildRequires:  perl(Test::Pod) >= 1.41
17BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
18BuildRequires:  perl(Sub::Name)
19Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
20
21# obsolete/provide old tests subpackage
22# can be removed during F19 development cycle
23Obsoletes:      %{name}-tests < 0.11-3
24Provides:       %{name}-tests = %{version}-%{release}
25
26Vendor:         Project Vine
27Distribution:   Vine Linux
28Packager:       shaolin
29
30%{?perl_default_filter}
31
32%description
33The main focus of this module is to provide simple and reliable error
34handling for those having a hard time installing TryCatch, but who still
35want to write correct 'eval' blocks without 5 lines of boilerplate each
36time.
37
38%prep
39%setup -q -n Try-Tiny-%{version}
40
41%build
42%{__perl} Makefile.PL INSTALLDIRS=vendor
43make %{?_smp_mflags}
44
45%install
46rm -rf %{buildroot}
47make pure_install DESTDIR=%{buildroot}
48find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
49find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
50
51%{_fixperms} %{buildroot}/*
52
53%check
54make test
55
56%clean
57rm -rf %{buildroot}
58
59%files
60%doc Changes t/
61%{perl_vendorlib}/Try/
62%{_mandir}/man3/Try::Tiny.3pm*
63
64%changelog
65* Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.22-1
66- updated to 0.22
67- updated BuildRequires
68
69* Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.11-2
70- build with Perl 5.16
71
72* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.11-1
73- initial build for Vine Linux
74
75* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 0.11-3
76- drop tests subpackage; move tests to main package documentation
77
78* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2
79- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
80
81* Sun Oct 02 2011 Iain Arnell <iarnell@gmail.com> 0.11-1
82- update to latest upstream version
83
84* Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.09-2
85- Perl mass rebuild
86
87* Fri Mar 18 2011 Iain Arnell <iarnell@gmail.com> 0.09-1
88- update to latest upstream version
89- clean up spec for modern rpmbuild
90
91* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-2
92- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
93
94* Mon Nov  1 2010 Paul Howarth <paul@city-fan.org> 0.07-1
95- update to 0.07:
96  - allow multiple finally blocks
97  - pass the error, if any, to finally blocks when called
98  - documentation fixes and clarifications
99- this release by RJBS -> update source URL
100
101* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-2
102- Mass rebuild with perl-5.12.0
103
104* Tue Mar 02 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.04-1
105- update by Fedora::App::MaintainerTools 0.004
106- PERL_INSTALL_ROOT => DESTDIR
107- updating to latest GA CPAN version (0.04)
108
109* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.02-2
110- rebuild against perl 5.10.1
111
112* Tue Sep 15 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.02-1
113- submission
114
115* Tue Sep 15 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.02-0
116- initial RPM packaging
117- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
Note: See TracBrowser for help on using the repository browser.