Hello community,

here is the log from the commit of package cpanspec for openSUSE:Factory 
checked in at 2013-08-04 07:28:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cpanspec (Old)
 and      /work/SRC/openSUSE:Factory/.cpanspec.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cpanspec"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cpanspec/cpanspec.changes        2011-12-08 
11:27:38.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.cpanspec.new/cpanspec.changes   2013-08-04 
07:28:33.000000000 +0200
@@ -1,0 +2,9 @@
+Thu Aug  1 05:48:44 UTC 2013 - [email protected]
+
+- Stephan Kulow (4):
+      bump version
+      avoid empty description
+      don't reset Module::Build
+      support Module::Build::Tiny
+
+-------------------------------------------------------------------

Old:
----
  cpanspec-1.78.06.tar.gz

New:
----
  cpanspec-1.78.07.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cpanspec.spec ++++++
--- /var/tmp/diff_new_pack.8CQvQr/_old  2013-08-04 07:28:34.000000000 +0200
+++ /var/tmp/diff_new_pack.8CQvQr/_new  2013-08-04 07:28:34.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cpanspec
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -16,9 +16,8 @@
 #
 
 
-
 Name:           cpanspec
-Version:        1.78.06
+Version:        1.78.07
 Release:        0
 %define cpan_name cpanspec
 Summary:        Generate a SUSE spec file for a CPAN module
@@ -32,6 +31,7 @@
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
+BuildRequires:  perl-macros
 BuildRequires:  perl(Archive::Tar)
 BuildRequires:  perl(Archive::Zip)
 BuildRequires:  perl(IO::Uncompress::Bunzip2)
@@ -41,18 +41,17 @@
 BuildRequires:  perl(Pod::Simple::TextContent)
 BuildRequires:  perl(Text::Autoformat)
 BuildRequires:  perl(YAML)
-BuildRequires:  perl-macros
 Requires:       perl(Archive::Tar)
 Requires:       perl(Archive::Zip)
 Requires:       perl(Class::Accessor::Chained)
 Recommends:     perl(IO::Uncompress::Bunzip2)
 Requires:       perl(LWP::UserAgent)
 Requires:       perl(Parse::CPAN::Packages)
+Requires:       perl(Perl::PrereqScanner)
 Requires:       perl(Pod::POM)
 Requires:       perl(Pod::Simple::TextContent)
 Requires:       perl(Text::Autoformat)
 Requires:       perl(YAML)
-Requires:       perl(Perl::PrereqScanner)
 %{perl_requires}
 
 %description

++++++ cpanspec-1.78.06.tar.gz -> cpanspec-1.78.07.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpanspec-1.78.06/MANIFEST 
new/cpanspec-1.78.07/MANIFEST
--- old/cpanspec-1.78.06/MANIFEST       2011-12-02 14:13:34.000000000 +0100
+++ new/cpanspec-1.78.07/MANIFEST       2013-08-01 07:48:45.000000000 +0200
@@ -9,3 +9,4 @@
 Changes
 Makefile.PL
 lib/Intrusive.pm
+META.json                                Module JSON meta-data (added by 
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpanspec-1.78.06/META.json 
new/cpanspec-1.78.07/META.json
--- old/cpanspec-1.78.06/META.json      1970-01-01 01:00:00.000000000 +0100
+++ new/cpanspec-1.78.07/META.json      2013-08-01 07:48:45.000000000 +0200
@@ -0,0 +1,54 @@
+{
+   "abstract" : "unknown",
+   "author" : [
+      "unknown"
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter 
version 2.120630",
+   "license" : [
+      "unknown"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
+      "version" : "2"
+   },
+   "name" : "cpanspec",
+   "no_index" : {
+      "directory" : [
+         "t",
+         "inc"
+      ]
+   },
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "runtime" : {
+         "requires" : {
+            "Archive::Tar" : "0",
+            "Archive::Zip" : "0",
+            "File::Basename" : "0",
+            "FileHandle" : "0",
+            "Getopt::Long" : "0",
+            "IO::Uncompress::Bunzip2" : "0",
+            "LWP::UserAgent" : "0",
+            "POSIX" : "0",
+            "Parse::CPAN::Packages" : "0",
+            "Pod::Simple::TextContent" : "0",
+            "Pod::Usage" : "0",
+            "Text::Autoformat" : "0",
+            "YAML" : "0",
+            "locale" : "0"
+         }
+      }
+   },
+   "release_status" : "stable",
+   "version" : "v1.78.07"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpanspec-1.78.06/META.yml 
new/cpanspec-1.78.07/META.yml
--- old/cpanspec-1.78.06/META.yml       2011-12-02 14:13:36.000000000 +0100
+++ new/cpanspec-1.78.07/META.yml       2013-08-01 07:48:45.000000000 +0200
@@ -1,34 +1,35 @@
---- #YAML:1.0
-name:               cpanspec
-version:            1.78.06
-abstract:           ~
-author:  []
-license:            unknown
-distribution_type:  module
-configure_requires:
-    ExtUtils::MakeMaker:  0
+---
+abstract: unknown
+author:
+  - unknown
 build_requires:
-    ExtUtils::MakeMaker:  0
-requires:
-    Archive::Tar:         0
-    Archive::Zip:         0
-    File::Basename:       0
-    FileHandle:           0
-    Getopt::Long:         0
-    IO::Uncompress::Bunzip2:  0
-    locale:               0
-    LWP::UserAgent:       0
-    Parse::CPAN::Packages:  0
-    Pod::Simple::TextContent:  0
-    Pod::Usage:           0
-    POSIX:                0
-    Text::Autoformat:     0
-    YAML:                 0
-no_index:
-    directory:
-        - t
-        - inc
-generated_by:       ExtUtils::MakeMaker version 6.57_05
+  ExtUtils::MakeMaker: 0
+configure_requires:
+  ExtUtils::MakeMaker: 0
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter 
version 2.120630'
+license: unknown
 meta-spec:
-    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
-    version:  1.4
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: cpanspec
+no_index:
+  directory:
+    - t
+    - inc
+requires:
+  Archive::Tar: 0
+  Archive::Zip: 0
+  File::Basename: 0
+  FileHandle: 0
+  Getopt::Long: 0
+  IO::Uncompress::Bunzip2: 0
+  LWP::UserAgent: 0
+  POSIX: 0
+  Parse::CPAN::Packages: 0
+  Pod::Simple::TextContent: 0
+  Pod::Usage: 0
+  Text::Autoformat: 0
+  YAML: 0
+  locale: 0
+version: v1.78.07
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpanspec-1.78.06/cpanspec 
new/cpanspec-1.78.07/cpanspec
--- old/cpanspec-1.78.06/cpanspec       2011-12-02 14:13:34.000000000 +0100
+++ new/cpanspec-1.78.07/cpanspec       2013-08-01 07:48:43.000000000 +0200
@@ -190,7 +190,7 @@
 use warnings;
 
 our $NAME="cpanspec";
-our $VERSION='1.78.06';
+our $VERSION='1.78.07';
 
 use Cwd;
 BEGIN {
@@ -520,6 +520,7 @@
            eval { $description .= $item->present('Pod::POM::View::Text'); };
         }
 
+       return $description=undef unless length($description);
         # no limit
         my @paragraphs = (split /\n\n/, $description);
 
@@ -1030,9 +1031,14 @@
     }
 
     my $usebuildpl=0;
+    my $usebuildplt=0;
     if (grep /^Build\.PL$/, @files) {
-        $build_requires{'Module::Build'}=0;
         $usebuildpl=1;
+       if (defined $build_requires{'Module::Build::Tiny'}) {
+          $usebuildplt=1;
+        } else {
+          $build_requires{'Module::Build'} ||=0;
+        }
     } else {
         $build_requires{'ExtUtils::MakeMaker'}=0;
     }
@@ -1263,7 +1269,13 @@
 \%build
 END
 
-    if ($usebuildpl) {
+    if ($usebuildplt) {
+        print $spec <<END;
+\%{__perl} Build.PL --installdirs=vendor@{[$noarch ? '' : qq{ 
optimize="$macro{optimize}"} ]}
+./Build build --flags=\%{?_smp_mflags}
+
+END
+    } elsif ($usebuildpl) {
         print $spec <<END;
 \%{__perl} Build.PL installdirs=vendor@{[$noarch ? '' : qq{ 
optimize="$macro{optimize}"} ]}
 ./Build build flags=\%{?_smp_mflags}
@@ -1299,7 +1311,10 @@
 \%install
 END
 
-    if ($usebuildpl) {
+    if ($usebuildplt) {
+        print $spec
+           "./Build install --destdir=$macro{buildroot} --create_packlist=0\n";
+    } elsif ($usebuildpl) {
         print $spec
             "./Build install destdir=$macro{buildroot} create_packlist=0\n";
     } else {

++++++ updaterpm.sh ++++++
--- /var/tmp/diff_new_pack.8CQvQr/_old  2013-08-04 07:28:34.000000000 +0200
+++ /var/tmp/diff_new_pack.8CQvQr/_new  2013-08-04 07:28:34.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-rev=513e85daf0caa6df5604b32b86dcb5111b6f106a
+rev=d390a77f700fdf7bf1938aa2a70c4a1557225b52
 git clone --depth 0 http://git.gitorious.org/opensuse/cpanspec.git
 cd cpanspec
 nrev=`git show HEAD| grep commit | head -n 1 | cut '-d ' -f2`

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to