2007-07-13 02:39:29 +00:00
|
|
|
#
|
2011-11-17 15:49:48 +00:00
|
|
|
# spec file for package perl-Sub-Uplevel
|
2007-07-13 02:39:29 +00:00
|
|
|
#
|
2018-09-18 08:59:09 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-07-13 02:39:29 +00:00
|
|
|
#
|
2008-09-12 16:13:09 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-07-13 02:39:29 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2018-09-18 08:59:09 +00:00
|
|
|
%define cpan_name Sub-Uplevel
|
2007-07-13 02:39:29 +00:00
|
|
|
Name: perl-Sub-Uplevel
|
2018-09-18 08:59:09 +00:00
|
|
|
Version: 0.2800
|
2013-04-15 10:44:57 +00:00
|
|
|
Release: 0
|
2012-02-22 10:11:38 +00:00
|
|
|
Summary: Apparently run a function in a higher stack frame
|
2018-09-18 08:59:09 +00:00
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0
|
2012-02-22 10:11:38 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2018-09-18 08:59:09 +00:00
|
|
|
Url: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
|
2025-08-12 18:17:18 +02:00
|
|
|
Source100: README.md
|
2009-07-27 19:53:51 +00:00
|
|
|
BuildRequires: perl
|
2013-04-15 10:44:57 +00:00
|
|
|
BuildRequires: perl-macros
|
2009-07-27 19:53:51 +00:00
|
|
|
BuildRequires: perl(Carp)
|
2012-02-22 10:11:38 +00:00
|
|
|
BuildRequires: perl(Module::Build)
|
2009-07-27 19:53:51 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
2012-02-22 10:11:38 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
%{perl_requires}
|
2007-07-13 02:39:29 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%prep
|
2018-09-18 08:59:09 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-07-13 02:39:29 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%check
|
2018-09-18 08:59:09 +00:00
|
|
|
make %{?_smp_mflags} test
|
2007-07-13 02:39:29 +00:00
|
|
|
|
|
|
|
%install
|
2012-02-22 10:11:38 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -Wall"
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2009-07-27 19:53:51 +00:00
|
|
|
%perl_gen_filelist
|
2007-07-13 02:39:29 +00:00
|
|
|
|
2009-07-27 19:53:51 +00:00
|
|
|
%files -f %{name}.files
|
2018-09-18 08:59:09 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc Changes examples README xt
|
2008-02-25 16:36:10 +00:00
|
|
|
|
2007-07-13 02:39:29 +00:00
|
|
|
%changelog
|