eb7a29
Name:           perl-Sub-Uplevel
eb7a29
Summary:        Apparently run a function in a higher stack frame
eb7a29
Epoch:          1
eb7a29
Version:        0.24
eb7a29
Release:        4%{?dist}
eb7a29
License:        GPL+ or Artistic
eb7a29
Group:          Development/Libraries
eb7a29
Source0:        http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-%{version}.tar.gz 
eb7a29
URL:            http://search.cpan.org/dist/Sub-Uplevel
eb7a29
BuildArch:      noarch
eb7a29
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
eb7a29
# Run-time:
eb7a29
BuildRequires:  perl(Carp)
eb7a29
BuildRequires:  perl(constant)
eb7a29
# Tests:
eb7a29
BuildRequires:  perl(Exporter)
eb7a29
BuildRequires:  perl(File::Temp)
eb7a29
BuildRequires:  perl(Test::More)
eb7a29
# Optional:
eb7a29
BuildRequires:  perl(Test::Script) >= 1.05
eb7a29
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
eb7a29
Requires:       perl(Carp)
eb7a29
eb7a29
%{?perl_default_filter}
eb7a29
eb7a29
%description
eb7a29
Like Tcl's uplevel() function, but not quite so dangerous. The idea is
eb7a29
just to fool caller(). All the really naughty bits of Tcl's uplevel()
eb7a29
are avoided.
eb7a29
eb7a29
%prep
eb7a29
%setup -q -n Sub-Uplevel-%{version}
eb7a29
eb7a29
%build
eb7a29
%{__perl} Makefile.PL INSTALLDIRS=vendor
eb7a29
make %{?_smp_mflags}
eb7a29
eb7a29
%install
eb7a29
make pure_install DESTDIR=%{buildroot}
eb7a29
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
eb7a29
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
eb7a29
%{_fixperms} %{buildroot}/*
eb7a29
eb7a29
%check
eb7a29
make test
eb7a29
eb7a29
%files
eb7a29
%doc Changes LICENSE README README.PATCHING examples/
eb7a29
%{perl_vendorlib}/*
eb7a29
%{_mandir}/man3/*
eb7a29
eb7a29
%changelog
eb7a29
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:0.24-4
eb7a29
- Mass rebuild 2013-12-27
eb7a29
eb7a29
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 1:0.24-3.1
eb7a29
- Rebuild for perl 5.16
eb7a29
eb7a29
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.24-3
eb7a29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
eb7a29
eb7a29
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1:0.24-2
eb7a29
- Perl 5.16 rebuild
eb7a29
eb7a29
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1:0.24-1
eb7a29
- 0.24 bump
eb7a29
eb7a29
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1:0.22-7
eb7a29
- Perl 5.16 rebuild
eb7a29
eb7a29
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.22-6
eb7a29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
eb7a29
eb7a29
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.22-5
eb7a29
- Perl mass rebuild
eb7a29
eb7a29
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.22-4
eb7a29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
eb7a29
eb7a29
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.22-3
eb7a29
- 661697 rebuild for fixing problems with vendorach/lib
eb7a29
eb7a29
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.22-2
eb7a29
- Mass rebuild with perl-5.12.0
eb7a29
eb7a29
* Sat Feb 13 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.22-1
eb7a29
- don't run tests explicitly marked as "AUTHOR"
eb7a29
- add perl_default_filter
eb7a29
- auto-update by cpan-spec-update 0.002
eb7a29
- Add epoch of 1 (0.2002 => 0.22)
eb7a29
- added a new br on perl(Carp) (version 0)
eb7a29
eb7a29
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.2002-4
eb7a29
- rebuild against perl 5.10.1
eb7a29
eb7a29
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2002-3
eb7a29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
eb7a29
eb7a29
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2002-2
eb7a29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
eb7a29
eb7a29
* Wed Dec 10 2008 Steven Pritchard <steve@kspei.com> 0.2002-1
eb7a29
- Update to 0.2002.
eb7a29
- BR Test::More.
eb7a29
eb7a29
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.1901-2
eb7a29
- Rebuild for perl 5.10 (again)
eb7a29
eb7a29
* Wed Feb 20 2008 Steven Pritchard <steve@kspei.com> 0.1901-1
eb7a29
- Update to 0.1901.
eb7a29
- Use fixperms macro instead of our own chmod incantation.
eb7a29
- Reformat to match cpanspec output.
eb7a29
eb7a29
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.18-2
eb7a29
- rebuild for new perl
eb7a29
eb7a29
* Mon Dec 17 2007 Ralf Corsépius <rc040203@freenet.de> - 0.18-1
eb7a29
- Update to 0.18.
eb7a29
eb7a29
* Sat Nov 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.14-1
eb7a29
- Update to 0.14.
eb7a29
eb7a29
* Fri Jun 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.13-1
eb7a29
- Update to 0.13.
eb7a29
eb7a29
* Sat May 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.12-1
eb7a29
- Update to 0.12.
eb7a29
- Makefile.PL -> Build.PL.
eb7a29
eb7a29
* Fri Apr 21 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.10-1
eb7a29
- Update to 0.10.
eb7a29
- New upstream maintainer.
eb7a29
- Patch dropped.
eb7a29
eb7a29
* Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-4
eb7a29
- Uplevel.pm patch (perl 5.8.8). See bugzilla entry #182488.
eb7a29
eb7a29
* Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-3
eb7a29
- Dist tag.
eb7a29
eb7a29
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.09-2
eb7a29
- rebuilt
eb7a29
eb7a29
* Thu Jul  8 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-1
eb7a29
- Update to 0.09 (with license info).
eb7a29
eb7a29
* Sun Jul  4 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.08-0.fdr.1
eb7a29
- First build.