c0c3c1e
Name:           perl-Sub-Uplevel
fefc559
Summary:        Apparently run a function in a higher stack frame
Chris Weyl e0c9600
Epoch:          1
7a17945
Version:        0.2800
7a17945
Release:        1%{?dist}
cf2cb54
License:        GPL+ or Artistic
d9b55f0
URL:            http://search.cpan.org/dist/Sub-Uplevel/
Chris Weyl e0c9600
Source0:        http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-%{version}.tar.gz 
c0c3c1e
BuildArch:      noarch
6f586a9
# Build:
d9b55f0
BuildRequires:  coreutils
d9b55f0
BuildRequires:  findutils
d9b55f0
BuildRequires:  make
6f586a9
BuildRequires:  perl
32c0823
BuildRequires:  perl-generators
6f586a9
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.17
4ed1953
# Run-time:
Chris Weyl e0c9600
BuildRequires:  perl(Carp)
4ed1953
BuildRequires:  perl(constant)
6f586a9
BuildRequires:  perl(strict)
6f586a9
BuildRequires:  perl(warnings)
4ed1953
# Tests:
4ed1953
BuildRequires:  perl(Exporter)
4ed1953
BuildRequires:  perl(File::Temp)
6f586a9
BuildRequires:  perl(File::Spec)
7a17945
BuildRequires:  perl(lib)
7a17945
BuildRequires:  perl(Test::More) >= 0.88
4ed1953
# Optional:
6f586a9
BuildRequires:  perl(CPAN::Meta) >= 2.120900
6f586a9
# Explicit Run-time:
6f586a9
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
4ed1953
Requires:       perl(Carp)
Chris Weyl e0c9600
6f586a9
# Remove bogus perl(DB) provide
6f586a9
%global __provides_exclude ^perl\\(DB\\)$
c0c3c1e
c0c3c1e
%description
fefc559
Like Tcl's uplevel() function, but not quite so dangerous. The idea is
fefc559
just to fool caller(). All the really naughty bits of Tcl's uplevel()
fefc559
are avoided.
c0c3c1e
c0c3c1e
%prep
c0c3c1e
%setup -q -n Sub-Uplevel-%{version}
c0c3c1e
c0c3c1e
%build
6f586a9
perl Makefile.PL INSTALLDIRS=vendor
4ed1953
make %{?_smp_mflags}
c0c3c1e
c0c3c1e
%install
4ed1953
make pure_install DESTDIR=%{buildroot}
d9b55f0
find %{buildroot} -type f -name .packlist -delete
7a17945
%{_fixperms} -c %{buildroot}
c0c3c1e
5045fd8
%check
4ed1953
make test
c0c3c1e
c0c3c1e
%files
6f586a9
%license LICENSE
6f586a9
%doc Changes CONTRIBUTING.mkdn README examples/
6f586a9
%{perl_vendorlib}/Sub/
6f586a9
%{_mandir}/man3/Sub::Uplevel.3*
c0c3c1e
c0c3c1e
%changelog
7a17945
* Mon Apr  3 2017 Paul Howarth <paul@city-fan.org> - 1:0.2800-1
7a17945
- Update to 0.2800
7a17945
  - Tests now work if '.' is not in @INC
7a17945
1c351cd
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2600-2
1c351cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1c351cd
d9b55f0
* Fri Aug  5 2016 Paul Howarth <paul@city-fan.org> - 1:0.2600-1
d9b55f0
- Update to 0.2600
d9b55f0
  - Optimized calls to caller()
d9b55f0
- Simplify find command using -delete
d9b55f0
c0c797b
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.25-5
c0c797b
- Perl 5.24 rebuild
c0c797b
c28ce62
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.25-4
c28ce62
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c28ce62
3081a3a
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.25-3
3081a3a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3081a3a
a83cfa7
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.25-2
a83cfa7
- Perl 5.22 rebuild
a83cfa7
6f586a9
* Tue Jan 27 2015 Paul Howarth <paul@city-fan.org> - 1:0.25-1
6f586a9
- Update to 0.25
6f586a9
  - Fixed: 00-compile.t failures under Windows (CPAN RT#98230)
6f586a9
  - The 00-compile.t file has been moved to a release test and is no longer
6f586a9
    shipped
6f586a9
  - Moved bug tracker to Github
6f586a9
  - Updated repo files explaining how to contribute
6f586a9
  - Enabled Travis CI
6f586a9
- Specify all dependencies
6f586a9
- Use %%license
6f586a9
- Make %%files list more explicit
6f586a9
9d6faf2
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.24-8
9d6faf2
- Perl 5.20 rebuild
9d6faf2
ce73c21
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.24-7
ce73c21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ce73c21
c201501
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.24-6
c201501
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c201501
254411e
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 1:0.24-5
254411e
- Perl 5.18 rebuild
254411e
c8d34ac
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.24-4
c8d34ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c8d34ac
752a6d0
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.24-3
752a6d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
752a6d0
6c7789e
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1:0.24-2
6c7789e
- Perl 5.16 rebuild
6c7789e
4ed1953
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1:0.24-1
4ed1953
- 0.24 bump
4ed1953
6724afb
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1:0.22-7
6724afb
- Perl 5.16 rebuild
6724afb
8698d5e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.22-6
8698d5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8698d5e
610ade9
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.22-5
610ade9
- Perl mass rebuild
610ade9
0ab3d11
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.22-4
0ab3d11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0ab3d11
b139fe4
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.22-3
6f586a9
- Rebuild to fix problems with vendorarch/lib (#661697)
b139fe4
001f440
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.22-2
001f440
- Mass rebuild with perl-5.12.0
001f440
Chris Weyl e0c9600
* Sat Feb 13 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.22-1
Chris Weyl e0c9600
- don't run tests explicitly marked as "AUTHOR"
Chris Weyl e0c9600
- add perl_default_filter
Chris Weyl e0c9600
- auto-update by cpan-spec-update 0.002
Chris Weyl e0c9600
- Add epoch of 1 (0.2002 => 0.22)
Chris Weyl e0c9600
- added a new br on perl(Carp) (version 0)
Chris Weyl e0c9600
850cb7e
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.2002-4
850cb7e
- rebuild against perl 5.10.1
850cb7e
57d17fa
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2002-3
57d17fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
57d17fa
ea25286
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2002-2
ea25286
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ea25286
f25622a
* Wed Dec 10 2008 Steven Pritchard <steve@kspei.com> 0.2002-1
f25622a
- Update to 0.2002.
f25622a
- BR Test::More.
f25622a
403b17e
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.1901-2
403b17e
- Rebuild for perl 5.10 (again)
403b17e
fefc559
* Wed Feb 20 2008 Steven Pritchard <steve@kspei.com> 0.1901-1
fefc559
- Update to 0.1901.
fefc559
- Use fixperms macro instead of our own chmod incantation.
fefc559
- Reformat to match cpanspec output.
fefc559
0b1a9ac
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.18-2
0b1a9ac
- rebuild for new perl
0b1a9ac
6b95bff
* Mon Dec 17 2007 Ralf Corsépius <rc040203@freenet.de> - 0.18-1
cf2cb54
- Update to 0.18.
cf2cb54
c62b4ca
* Sat Nov 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.14-1
c62b4ca
- Update to 0.14.
c62b4ca
299f55d
* Fri Jun 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.13-1
299f55d
- Update to 0.13.
299f55d
5b2dd70
* Sat May 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.12-1
5b2dd70
- Update to 0.12.
5b2dd70
- Makefile.PL -> Build.PL.
5b2dd70
73ab406
* Fri Apr 21 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.10-1
73ab406
- Update to 0.10.
73ab406
- New upstream maintainer.
73ab406
- Patch dropped.
73ab406
1c174e0
* Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-4
967163c
- Uplevel.pm patch (perl 5.8.8). See bugzilla entry #182488.
1c174e0
5045fd8
* Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-3
5045fd8
- Dist tag.
5045fd8
6f586a9
* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.09-2
140f9e0
- rebuilt
140f9e0
19045a6
* Thu Jul  8 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-1
c0c3c1e
- Update to 0.09 (with license info).
c0c3c1e
c0c3c1e
* Sun Jul  4 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.08-0.fdr.1
c0c3c1e
- First build.