76 lines
1.9 KiB
RPMSpec
76 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package perl-Sub-Uplevel (Version 0.18)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: perl-Sub-Uplevel
|
|
Version: 0.18
|
|
Release: 1
|
|
Requires: perl = %{perl_version}
|
|
AutoReqProv: on
|
|
Group: Development/Libraries/Perl
|
|
License: Artistic License
|
|
Url: http://cpan.org/modules/by-module/Sub/
|
|
Summary: Sub::Uplevel - apparently run a function in a higher stack frame
|
|
Source: Sub-Uplevel-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Like Tcl's uplevel() function, but not quite so dangerous. The idea is
|
|
just to fool caller(). All the really naughty bits of Tcl's uplevel()
|
|
are avoided.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
David A Golden <dagolden@cpan.org> (current maintainer)
|
|
|
|
Michael G Schwern <schwern@pobox.com> (original author)
|
|
|
|
%prep
|
|
%setup -q -n Sub-Uplevel-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README
|
|
%doc %{_mandir}/man?/*
|
|
/var/adm/perl-modules/%{name}
|
|
%dir %{perl_vendorlib}/Sub/
|
|
%dir %{perl_vendorarch}/auto/Sub/
|
|
%{perl_vendorlib}/Sub/*
|
|
%{perl_vendorarch}/auto/Sub/Uplevel/
|
|
%changelog
|
|
* Thu Nov 01 2007 - anicka@suse.cz
|
|
- update to 0.18
|
|
* removed 5.006-specific language and tested on prerelease 5.00505
|
|
* Mon Oct 08 2007 - anicka@suse.cz
|
|
- update to 0.16
|
|
* Won't override any existing CORE::GLOBAL::caller when loaded
|
|
* Localize global caller() override to the scope of the uplevel()
|
|
call so it can play nicer with things like Contextual::Return
|
|
and Hook::LexWrap that also override caller()
|
|
* Thu Jun 14 2007 - anicka@suse.cz
|
|
- package created (version 0.14)
|