commit perl-Scope-Guard for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Scope-Guard for openSUSE:Factory checked in at Wed Nov 10 21:40:48 CET 2010. -------- New Changes file: --- /dev/null 2010-07-09 01:59:37.000000000 +0200 +++ perl-Scope-Guard/perl-Scope-Guard.changes 2010-11-09 14:20:18.000000000 +0100 @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Sun Oct 26 00:00:00 UTC 2008 - gerrit.beine@gmx.de + +- first release 0.03 + + calling whatdependson for head-i586 New: ---- Scope-Guard-0.03.tar.gz perl-Scope-Guard.changes perl-Scope-Guard.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Scope-Guard.spec ++++++ # # spec file for package perl-Scope-Guard (Version 0.03) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define cpan_name Scope-Guard Name: perl-%cpan_name Version: 0.03 Release: 1 Provides: %cpan_name Requires: perl = %{perl_version} Group: Development/Libraries/Perl License: Artistic Url: http://search.cpan.org/dist/Scope-Guard/ Summary: Lexically scoped resource management Source: %cpan_name-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl-Test-Pod perl-Test-Pod-Coverage %description This module provides a convenient way to perform cleanup or other forms of resource management at the end of a scope. It is particularly useful when dealing with exceptions: the Scope::Guard constructor takes a reference to a subroutine that is guaranteed to be called even if the thread of execution is aborted prematurely. This effectively allows lexically-scoped "promises" to be made that are automatically honoured by perl's garbage collector. %prep %setup -q -n %cpan_name-%{version} %build perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" make make test %install make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %clean # clean up the hard disc after build rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc %{_mandir}/man?/* %{perl_vendorlib}/Scope %{perl_vendorarch}/auto/Scope /var/adm/perl-modules/%{name} %doc Changes MANIFEST README %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de