|
|
505858 |
Name: perl-Scope-Guard
|
|
|
505858 |
Summary: Lexically scoped resource management
|
|
|
505858 |
Version: 0.21
|
|
|
505858 |
Release: 7%{?dist}
|
|
|
505858 |
License: GPL+ or Artistic
|
|
|
505858 |
Group: Development/Libraries
|
|
|
505858 |
Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHOCOLATE/Scope-Guard-%{version}.tar.gz
|
|
|
505858 |
URL: http://search.cpan.org/dist/Scope-Guard/
|
|
|
505858 |
BuildArch: noarch
|
|
|
505858 |
# Module Build
|
|
|
505858 |
BuildRequires: coreutils
|
|
|
505858 |
BuildRequires: findutils
|
|
|
505858 |
BuildRequires: make
|
|
|
505858 |
BuildRequires: perl-interpreter
|
|
|
505858 |
BuildRequires: perl-generators
|
|
|
505858 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
505858 |
# Module Runtime
|
|
|
505858 |
BuildRequires: perl(Carp)
|
|
|
505858 |
BuildRequires: perl(Exporter)
|
|
|
505858 |
BuildRequires: perl(strict)
|
|
|
505858 |
BuildRequires: perl(warnings)
|
|
|
505858 |
# Test Suite
|
|
|
505858 |
BuildRequires: perl(Test::More)
|
|
|
505858 |
# Runtime
|
|
|
505858 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
505858 |
|
|
|
505858 |
%{?perl_default_filter}
|
|
|
505858 |
|
|
|
505858 |
%description
|
|
|
505858 |
This module provides a convenient way to perform cleanup or other forms of
|
|
|
505858 |
resource management at the end of a scope. It is particularly useful when
|
|
|
505858 |
dealing with exceptions: the Scope::Guard constructor takes a reference to
|
|
|
505858 |
a subroutine that is guaranteed to be called even if the thread of
|
|
|
505858 |
execution is aborted prematurely. This effectively allows lexically-scoped
|
|
|
505858 |
"promises" to be made that are automatically honored by perl's garbage
|
|
|
505858 |
collector.
|
|
|
505858 |
|
|
|
505858 |
%prep
|
|
|
505858 |
%setup -q -n Scope-Guard-%{version}
|
|
|
505858 |
|
|
|
505858 |
%build
|
|
|
505858 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
505858 |
make %{?_smp_mflags}
|
|
|
505858 |
|
|
|
505858 |
%install
|
|
|
505858 |
make pure_install DESTDIR=%{buildroot}
|
|
|
505858 |
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
505858 |
%{_fixperms} %{buildroot}
|
|
|
505858 |
|
|
|
505858 |
%check
|
|
|
505858 |
make test
|
|
|
505858 |
|
|
|
505858 |
%files
|
|
|
505858 |
%doc Changes README t/
|
|
|
505858 |
%{perl_vendorlib}/Scope/
|
|
|
505858 |
%{_mandir}/man3/Scope::Guard.3*
|
|
|
505858 |
|
|
|
505858 |
%changelog
|
|
|
505858 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-7
|
|
|
505858 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
505858 |
|
|
|
505858 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-6
|
|
|
505858 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
505858 |
|
|
|
505858 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.21-5
|
|
|
505858 |
- Perl 5.26 rebuild
|
|
|
505858 |
|
|
|
505858 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-4
|
|
|
505858 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
505858 |
|
|
|
505858 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.21-3
|
|
|
505858 |
- Perl 5.24 rebuild
|
|
|
505858 |
|
|
|
505858 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-2
|
|
|
505858 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
505858 |
|
|
|
505858 |
* Mon Jul 20 2015 Paul Howarth <paul@city-fan.org> - 0.21-1
|
|
|
505858 |
- Update to 0.21
|
|
|
505858 |
- Remove useless use of UNIVERSAL::isa (CPAN RT#105948)
|
|
|
505858 |
- Classify buildreqs by usage
|
|
|
505858 |
- Drop obsoletes/provides for old tests sub-package
|
|
|
505858 |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
505858 |
- Don't need to remove empty directories from the buildroot
|
|
|
505858 |
- Don't use macros for common commands
|
|
|
505858 |
- Make %%files list more explicit
|
|
|
505858 |
|
|
|
505858 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-15
|
|
|
505858 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
505858 |
|
|
|
505858 |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.20-14
|
|
|
505858 |
- Perl 5.22 rebuild
|
|
|
505858 |
|
|
|
505858 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.20-13
|
|
|
505858 |
- Perl 5.20 rebuild
|
|
|
505858 |
|
|
|
505858 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-12
|
|
|
505858 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
505858 |
|
|
|
505858 |
* Fri Jan 31 2014 Paul Howarth <paul@city-fan.org> - 0.20-11
|
|
|
505858 |
- Drop tests subpackage; move tests to main package documentation
|
|
|
505858 |
|
|
|
505858 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-10
|
|
|
505858 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
505858 |
|
|
|
505858 |
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.20-9
|
|
|
505858 |
- Perl 5.18 rebuild
|
|
|
505858 |
|
|
|
505858 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-8
|
|
|
505858 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
505858 |
|
|
|
505858 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-7
|
|
|
505858 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
505858 |
|
|
|
505858 |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.20-6
|
|
|
505858 |
- Perl 5.16 rebuild
|
|
|
505858 |
|
|
|
505858 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-5
|
|
|
505858 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
505858 |
|
|
|
505858 |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.20-4
|
|
|
505858 |
- Perl mass rebuild
|
|
|
505858 |
|
|
|
505858 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-3
|
|
|
505858 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
505858 |
|
|
|
505858 |
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.20-2
|
|
|
505858 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
505858 |
|
|
|
505858 |
* Fri Dec 17 2010 Iain Arnell <iarnell@gmail.com> 0.20-1
|
|
|
505858 |
- update to latest upstream version
|
|
|
505858 |
- clean up spec for modern rpmbuild
|
|
|
505858 |
- US spelling in description
|
|
|
505858 |
|
|
|
505858 |
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.12-2
|
|
|
505858 |
- Mass rebuild with perl-5.12.0
|
|
|
505858 |
|
|
|
505858 |
* Fri Apr 16 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.12-1
|
|
|
505858 |
- update by Fedora::App::MaintainerTools 0.006
|
|
|
505858 |
- PERL_INSTALL_ROOT => DESTDIR
|
|
|
505858 |
- updating to latest GA CPAN version (0.12)
|
|
|
505858 |
- dropped old BR on perl(Test::Pod::Coverage)
|
|
|
505858 |
|
|
|
505858 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.03-6
|
|
|
505858 |
- rebuild against perl 5.10.1
|
|
|
505858 |
|
|
|
505858 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-5
|
|
|
505858 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
505858 |
|
|
|
505858 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-4
|
|
|
505858 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
505858 |
|
|
|
505858 |
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.03-3
|
|
|
505858 |
Rebuild for new perl
|
|
|
505858 |
|
|
|
505858 |
* Mon Nov 26 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.03-2
|
|
|
505858 |
- bump
|
|
|
505858 |
|
|
|
505858 |
* Tue Sep 18 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.03-1
|
|
|
505858 |
- Specfile autogenerated by cpanspec 1.71.
|