Hello community,
here is the log from the commit of package perl-Task-Weaken for openSUSE:Factory
checked in at Mon Mar 8 18:19:41 CET 2010.
--------
--- perl-Task-Weaken/perl-Task-Weaken.changes 2009-11-15 18:54:57.000000000 +0100
+++ /mounts/work_src_done/STABLE/perl-Task-Weaken/perl-Task-Weaken.changes 2010-02-21 22:26:05.000000000 +0100
@@ -1,0 +2,11 @@
+Sun Feb 21 21:18:48 UTC 2010 - chris@computersalat.de
+
+- cleanup spec
+ o fix Url
+ o modname > cpan_name
+ o added perl-macros
+ o added provides cpan_name
+ o usage of more macros
+ o added LICENSE to doc
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Task-Weaken.spec ++++++
--- /var/tmp/diff_new_pack.gJSZ3h/_old 2010-03-08 18:19:36.000000000 +0100
+++ /var/tmp/diff_new_pack.gJSZ3h/_new 2010-03-08 18:19:36.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Task-Weaken (Version 1.03)
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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
@@ -19,47 +19,54 @@
Name: perl-Task-Weaken
-%define modname Task-Weaken
-Version: 1.03
-Release: 1
-Url: http://search.cpan.org/~nuffin/Tie-RefHash-Weak-0.08/lib/Tie/RefHash/Weak.pm
+%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Task::Weaken - Ensure that a platform has weaken support
-Requires: perl = %{perl_version}
-BuildRequires: perl
+Version: 1.03
+Release: 2
License: GPL/Artistic
Group: Development/Libraries/Perl
-Source: %{modname}-%{version}.tar.bz2
+Url: http://search.cpan.org/dist/Task-Weaken/
+Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: perl
+BuildRequires: perl-macros
+Requires: perl = %{perl_version}
+Provides: %{cpan_name}
%description
-One recurring problem in modules that use Scalar::Util's weaken function is that it is not present in the pure-perl variant.
-While this isn't necesarily always a problem in a straight CPAN-based Perl environment, some operating system distributions only include the pure-Perl versions, don't include the XS version, and so weaken is then "missing" from the platform, despite passing a dependency on Scalar::Util successfully.
+One recurring problem in modules that use Scalar::Util's "weaken"
+function is that it is not present in the pure-perl variant.
+
+While this isn't necesarily always a problem in a straight CPAN-based
+Perl environment, some operating system distributions only include the
+pure-Perl versions, don't include the XS version, and so weaken is then
+"missing" from the platform, despite passing a dependency on
+Scalar::Util successfully.
Authors:
--------
Adam Kennedy