From a0069bcb5038530a8e7c5089854b7d7c1a8fb381 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:38:53 +0100 Subject: [PATCH] update to 0.24 [release 0.24-1mamba;Sun Apr 28 2013] --- README.md | 2 ++ perl-Sub-Uplevel.spec | 64 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 perl-Sub-Uplevel.spec diff --git a/README.md b/README.md index eb69718..3f2d91c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Sub-Uplevel +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. + diff --git a/perl-Sub-Uplevel.spec b/perl-Sub-Uplevel.spec new file mode 100644 index 0000000..41c5622 --- /dev/null +++ b/perl-Sub-Uplevel.spec @@ -0,0 +1,64 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Sub-Uplevel +Epoch: 1 +Version: 0.24 +Release: 1mamba +Summary: Sub::Uplevel - Apparently run a function in a higher stack frame +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-%{version}.tar.gz +License: GPL +BuildRequires: perl-devel >= %perl_major_ver +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 +%setup -q -n Sub-Uplevel-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Sun Apr 28 2013 Automatic Build System 0.24-1mamba +- update to 0.24 + +* Fri Feb 06 2009 Silvan Calarco 0.2002-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 0.18-2mamba +- automatic rebuild by autodist + +* Fri Nov 09 2007 Aleph0 0.18-1mamba +- update to 0.18 + +* Mon Jan 24 2005 Davide Madrisan 0.09-1qilnx +- package created by autospec