commit cpanspec for openSUSE:Factory
Hello community,
here is the log from the commit of package cpanspec for openSUSE:Factory
checked in at Thu Mar 24 17:39:46 CET 2011.
--------
--- cpanspec/cpanspec.changes 2011-02-01 14:19:57.000000000 +0100
+++ /mounts/work_src_done/STABLE/cpanspec/cpanspec.changes 2011-02-20 02:02:20.000000000 +0100
@@ -1,0 +2,8 @@
+Sun Feb 20 00:39:36 UTC 2011 - chris@computersalat.de
+
+- fix some perl errors
+ o cpanspec Cpan-Name
+ o cpanspec Cpan::Name
+ o cpanspec Cpan-Name-{version}.tar.gz
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cpanspec.spec ++++++
--- /var/tmp/diff_new_pack.q9B7rV/_old 2011-03-24 17:39:33.000000000 +0100
+++ /var/tmp/diff_new_pack.q9B7rV/_new 2011-03-24 17:39:33.000000000 +0100
@@ -20,7 +20,7 @@
Name: cpanspec
Version: 1.78
-Release: 4
+Release: 19
%define tar_version 1.78
Summary: Generate a SUSE spec file for a CPAN module
License: GPL+ or Artistic
++++++ cpanspec.patch ++++++
--- /var/tmp/diff_new_pack.q9B7rV/_old 2011-03-24 17:39:33.000000000 +0100
+++ /var/tmp/diff_new_pack.q9B7rV/_new 2011-03-24 17:39:33.000000000 +0100
@@ -1,6 +1,6 @@
diff -ruN cpanspec-1.78-orig/cpanspec cpanspec-1.78/cpanspec
--- cpanspec-1.78-orig/cpanspec 2009-01-16 21:35:55.000000000 +0100
-+++ cpanspec-1.78/cpanspec 2011-02-01 14:18:48.000000000 +0100
++++ cpanspec-1.78/cpanspec 2011-02-20 01:55:34.000000000 +0100
@@ -12,9 +12,6 @@
#
# $Id: cpanspec,v 1.67 2009/01/16 20:35:17 stevenpritchard Exp $
@@ -115,12 +115,12 @@
+ my ($m,$d);
+ if ($m=$packages->package($file) and $d=$m->distribution()) {
+ $source=$cpan . "/authors/id/" . $d->prefix();
++ $source=~s/$version/\%{version}/;
+ } else {
+ warn "Failed to parse '$file' or find a module by that name in $pkgdetails, skipping...\n";
+ $source='';
+ return;
+ }
-+ $source=~s/$version/\%{version}/;
+}
+
sub build_rpm($) {
@@ -250,7 +250,8 @@
}
+ return $summary="$mod Perl module";
+}
-+
+
+- return(undef, undef);
+sub get_author($) {
+ my $cont = shift;
+ my @lines=();
@@ -275,8 +276,7 @@
+ }
+
+ $author = join "\n", @lines;
-
-- return(undef, undef);
++
+ # return...
+ return $author;
+ }
@@ -439,15 +439,21 @@
my @doc=sort { $a cmp $b } grep {
!/\//
-@@ -722,6 +784,7 @@
+@@ -722,17 +784,22 @@
and $_ ne "MANIFEST.SKIP"
and $_ ne "INSTALL"
and $_ ne "SIGNATURE"
+ and $_ ne "META.json"
and $_ ne "META.yml"
and $_ ne "NINJA"
++ and $_ ne "c"
and $_ ne "configure"
-@@ -733,6 +796,8 @@
+ and $_ ne "config.guess"
+ and $_ ne "config.sub"
++ and $_ ne "dist.ini"
+ and $_ ne "typemap"
+ and $_ ne "bin"
+ and $_ ne "lib"
and $_ ne "t"
and $_ ne "inc"
and $_ ne "autobuild.sh"
@@ -456,7 +462,7 @@
and $_ ne "pm_to_blib"
and $_ ne "install.sh"
} @files;
-@@ -947,45 +1012,61 @@
+@@ -947,45 +1014,63 @@
}
print $spec <
participants (1)
-
root@hilbert.suse.de