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

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

perl-5.26 and friends

Line 
1Name:           perl-Try-Tiny
2Summary:        Minimal try/catch with proper localization of $@
3Version:        0.30
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)
13BuildRequires:  perl(Pod::Coverage::TrustPod)
14BuildRequires:  perl(Test::More)
15BuildRequires:  perl(Test::NoTabs)
16BuildRequires:  perl(Test::Pod)
17BuildRequires:  perl(Test::Pod::Coverage)
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* Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.30-1
66- new upstream release.
67- rebuilt with perl-5.26.
68
69* Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.22-1
70- updated to 0.22
71- updated BuildRequires
72
73* Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.11-2
74- build with Perl 5.16
75
76* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.11-1
77- initial build for Vine Linux
78
79* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 0.11-3
80- drop tests subpackage; move tests to main package documentation
81
82* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2
83- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
84
85* Sun Oct 02 2011 Iain Arnell <iarnell@gmail.com> 0.11-1
86- update to latest upstream version
87
88* Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.09-2
89- Perl mass rebuild
90
91* Fri Mar 18 2011 Iain Arnell <iarnell@gmail.com> 0.09-1
92- update to latest upstream version
93- clean up spec for modern rpmbuild
94
95* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-2
96- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
97
98* Mon Nov  1 2010 Paul Howarth <paul@city-fan.org> 0.07-1
99- update to 0.07:
100  - allow multiple finally blocks
101  - pass the error, if any, to finally blocks when called
102  - documentation fixes and clarifications
103- this release by RJBS -> update source URL
104
105* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-2
106- Mass rebuild with perl-5.12.0
107
108* Tue Mar 02 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.04-1
109- update by Fedora::App::MaintainerTools 0.004
110- PERL_INSTALL_ROOT => DESTDIR
111- updating to latest GA CPAN version (0.04)
112
113* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.02-2
114- rebuild against perl 5.10.1
115
116* Tue Sep 15 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.02-1
117- submission
118
119* Tue Sep 15 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.02-0
120- initial RPM packaging
121- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
Note: See TracBrowser for help on using the repository browser.