1 | Name: perl-Scope-Guard |
---|
2 | Summary: Lexically scoped resource management |
---|
3 | Version: 0.21 |
---|
4 | Release: 11%{?_dist_release} |
---|
5 | License: GPL+ or Artistic |
---|
6 | Source0: https://cpan.metacpan.org/authors/id/C/CH/CHOCOLATE/Scope-Guard-%{version}.tar.gz |
---|
7 | URL: https://metacpan.org/release/Scope-Guard |
---|
8 | |
---|
9 | Vendor: Project Vine |
---|
10 | Distribution: Vine Linux |
---|
11 | |
---|
12 | BuildArch: noarch |
---|
13 | # Module Build |
---|
14 | BuildRequires: coreutils |
---|
15 | BuildRequires: findutils |
---|
16 | BuildRequires: make |
---|
17 | BuildRequires: perl >= 2:5.26.2 |
---|
18 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
19 | # Module Runtime |
---|
20 | BuildRequires: perl(Carp) |
---|
21 | BuildRequires: perl(Exporter) |
---|
22 | BuildRequires: perl(strict) |
---|
23 | BuildRequires: perl(warnings) |
---|
24 | # Test Suite |
---|
25 | BuildRequires: perl(Test::More) |
---|
26 | # Runtime |
---|
27 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
28 | |
---|
29 | %{?perl_default_filter} |
---|
30 | |
---|
31 | %description |
---|
32 | This module provides a convenient way to perform cleanup or other forms of |
---|
33 | resource management at the end of a scope. It is particularly useful when |
---|
34 | dealing with exceptions: the Scope::Guard constructor takes a reference to |
---|
35 | a subroutine that is guaranteed to be called even if the thread of |
---|
36 | execution is aborted prematurely. This effectively allows lexically-scoped |
---|
37 | "promises" to be made that are automatically honored by perl's garbage |
---|
38 | collector. |
---|
39 | |
---|
40 | %prep |
---|
41 | %setup -q -n Scope-Guard-%{version} |
---|
42 | |
---|
43 | %build |
---|
44 | perl Makefile.PL INSTALLDIRS=vendor |
---|
45 | make %{?_smp_mflags} |
---|
46 | |
---|
47 | %install |
---|
48 | make pure_install DESTDIR=%{buildroot} |
---|
49 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
50 | %{_fixperms} %{buildroot} |
---|
51 | |
---|
52 | %check |
---|
53 | make test |
---|
54 | |
---|
55 | %files |
---|
56 | %doc Changes README t/ |
---|
57 | %{perl_vendorlib}/Scope/ |
---|
58 | %{_mandir}/man3/Scope::Guard.3* |
---|
59 | |
---|
60 | %changelog |
---|
61 | * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.21-11 |
---|
62 | - initial build for Vine Linux. |
---|
63 | |
---|
64 | * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-10 |
---|
65 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
66 | |
---|
67 | * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-9 |
---|
68 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
69 | |
---|
70 | * Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.21-8 |
---|
71 | - Perl 5.28 rebuild |
---|
72 | |
---|
73 | * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-7 |
---|
74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
75 | |
---|
76 | * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-6 |
---|
77 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
78 | |
---|
79 | * Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.21-5 |
---|
80 | - Perl 5.26 rebuild |
---|
81 | |
---|
82 | * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-4 |
---|
83 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
84 | |
---|
85 | * Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.21-3 |
---|
86 | - Perl 5.24 rebuild |
---|
87 | |
---|
88 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-2 |
---|
89 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
90 | |
---|
91 | * Mon Jul 20 2015 Paul Howarth <paul@city-fan.org> - 0.21-1 |
---|
92 | - Update to 0.21 |
---|
93 | - Remove useless use of UNIVERSAL::isa (CPAN RT#105948) |
---|
94 | - Classify buildreqs by usage |
---|
95 | - Drop obsoletes/provides for old tests sub-package |
---|
96 | - Drop %%defattr, redundant since rpm 4.4 |
---|
97 | - Don't need to remove empty directories from the buildroot |
---|
98 | - Don't use macros for common commands |
---|
99 | - Make %%files list more explicit |
---|
100 | |
---|
101 | * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-15 |
---|
102 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
103 | |
---|
104 | * Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.20-14 |
---|
105 | - Perl 5.22 rebuild |
---|
106 | |
---|
107 | * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.20-13 |
---|
108 | - Perl 5.20 rebuild |
---|
109 | |
---|
110 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-12 |
---|
111 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
112 | |
---|
113 | * Fri Jan 31 2014 Paul Howarth <paul@city-fan.org> - 0.20-11 |
---|
114 | - Drop tests subpackage; move tests to main package documentation |
---|
115 | |
---|
116 | * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-10 |
---|
117 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
118 | |
---|
119 | * Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.20-9 |
---|
120 | - Perl 5.18 rebuild |
---|
121 | |
---|
122 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-8 |
---|
123 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
124 | |
---|
125 | * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-7 |
---|
126 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
127 | |
---|
128 | * Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.20-6 |
---|
129 | - Perl 5.16 rebuild |
---|
130 | |
---|
131 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-5 |
---|
132 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
133 | |
---|
134 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.20-4 |
---|
135 | - Perl mass rebuild |
---|
136 | |
---|
137 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-3 |
---|
138 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
139 | |
---|
140 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.20-2 |
---|
141 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
142 | |
---|
143 | * Fri Dec 17 2010 Iain Arnell <iarnell@gmail.com> 0.20-1 |
---|
144 | - update to latest upstream version |
---|
145 | - clean up spec for modern rpmbuild |
---|
146 | - US spelling in description |
---|
147 | |
---|
148 | * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.12-2 |
---|
149 | - Mass rebuild with perl-5.12.0 |
---|
150 | |
---|
151 | * Fri Apr 16 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.12-1 |
---|
152 | - update by Fedora::App::MaintainerTools 0.006 |
---|
153 | - PERL_INSTALL_ROOT => DESTDIR |
---|
154 | - updating to latest GA CPAN version (0.12) |
---|
155 | - dropped old BR on perl(Test::Pod::Coverage) |
---|
156 | |
---|
157 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.03-6 |
---|
158 | - rebuild against perl 5.10.1 |
---|
159 | |
---|
160 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-5 |
---|
161 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
162 | |
---|
163 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-4 |
---|
164 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
165 | |
---|
166 | * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.03-3 |
---|
167 | Rebuild for new perl |
---|
168 | |
---|
169 | * Mon Nov 26 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.03-2 |
---|
170 | - bump |
---|
171 | |
---|
172 | * Tue Sep 18 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.03-1 |
---|
173 | - Specfile autogenerated by cpanspec 1.71. |
---|