Hello community,
here is the log from the commit of package perl-Sub-Name for openSUSE:Factory
checked in at Mon Aug 10 17:02:35 CEST 2009.
--------
New Changes file:
--- /dev/null 2009-04-14 11:55:47.000000000 +0200
+++ perl-Sub-Name/perl-Sub-Name.changes 2009-07-25 19:42:16.000000000 +0200
@@ -0,0 +1,12 @@
+-------------------------------------------------------------------
+Sat Jul 25 19:42:15 CEST 2009 - chris@computersalat.de
+
+- spec mods
+ * removed ^----------
+ * removed ^#---------
+
+-------------------------------------------------------------------
+Sun Jun 28 16:21:51 CEST 2009 - chris@computersalat.de
+
+- initial pkg 0.04
+
calling whatdependson for head-i586
New:
----
Sub-Name-0.04.tar.gz
perl-Sub-Name.changes
perl-Sub-Name.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Sub-Name.spec ++++++
#
# spec file for package perl-Sub-Name (Version 0.04)
#
# Copyright (c) 2009 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/
#
# norootforbuild
Name: perl-Sub-Name
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Do (re)name a sub
Version: 0.04
Release: 1
License: Artistic License ..
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Sub-Name
Source: %{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
# other not perl || perl-base
#BuildRequires: perl(Test::Pod) >= 1.14
#BuildRequires: perl(Test::Pod::Coverage) >= 1.06
Requires: perl = %{perl_version}
%description
This module has only one function, which is also exported by default:
subname NAME, CODEREF
Assigns a new name to referenced sub. If package specification is
omitted in the name, then the current package is used. The return value
is the sub.
The name is only used for informative routines (caller, Carp, etc). You
won't be able to actually invoke the sub by the given name. To allow
that, you need to do glob-assignment yourself.
Note that for anonymous closures (subs that reference lexicals declared
outside the sub itself) you can name each instance of the closure
differently, which can be very useful for debugging.
Author: Matthijs van Duin