Hello community,

here is the log from the commit of package perl-ExtUtils-MakeMaker-CPANfile for 
openSUSE:Factory checked in at 2015-12-16 17:42:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-MakeMaker-CPANfile (Old)
 and      /work/SRC/openSUSE:Factory/.perl-ExtUtils-MakeMaker-CPANfile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-ExtUtils-MakeMaker-CPANfile"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-ExtUtils-MakeMaker-CPANfile/perl-ExtUtils-MakeMaker-CPANfile.changes
        2014-09-17 17:26:51.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-ExtUtils-MakeMaker-CPANfile.new/perl-ExtUtils-MakeMaker-CPANfile.changes
   2015-12-16 17:42:25.000000000 +0100
@@ -1,0 +2,9 @@
+Thu Dec 10 09:53:37 UTC 2015 - [email protected]
+
+- updated to 0.07
+   see /usr/share/doc/packages/perl-ExtUtils-MakeMaker-CPANfile/Changes
+
+  0.07  2015/12/09
+      - supported recommends, suggests, conflicts
+
+-------------------------------------------------------------------

Old:
----
  ExtUtils-MakeMaker-CPANfile-0.06.tar.gz

New:
----
  ExtUtils-MakeMaker-CPANfile-0.07.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-ExtUtils-MakeMaker-CPANfile.spec ++++++
--- /var/tmp/diff_new_pack.b075Mt/_old  2015-12-16 17:42:26.000000000 +0100
+++ /var/tmp/diff_new_pack.b075Mt/_new  2015-12-16 17:42:26.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-ExtUtils-MakeMaker-CPANfile
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
 
 
 Name:           perl-ExtUtils-MakeMaker-CPANfile
-Version:        0.06
+Version:        0.07
 Release:        0
 %define cpan_name ExtUtils-MakeMaker-CPANfile
-Summary:        cpanfile support for EUMM
+Summary:        Cpanfile Support for Eumm
 License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/ExtUtils-MakeMaker-CPANfile/
-Source:         
http://www.cpan.org/authors/id/I/IS/ISHIGAKI/%{cpan_name}-%{version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/I/IS/ISHIGAKI/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -40,8 +41,8 @@
 %description
 ExtUtils::MakeMaker::CPANfile loads 'cpanfile' in your distribution and
 modifies parameters for 'WriteMakefile' in your Makefile.PL. Just use it
-instead of the ExtUtils::MakeMaker manpage (which should be loaded
-internally), and prepare 'cpanfile'.
+instead of ExtUtils::MakeMaker (which should be loaded internally), and
+prepare 'cpanfile'.
 
 As of version 0.03, ExtUtils::MakeMaker::CPANfile also removes
 WriteMakefile parameters that the installed version of ExtUtils::MakeMaker

++++++ ExtUtils-MakeMaker-CPANfile-0.06.tar.gz -> 
ExtUtils-MakeMaker-CPANfile-0.07.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-MakeMaker-CPANfile-0.06/Changes 
new/ExtUtils-MakeMaker-CPANfile-0.07/Changes
--- old/ExtUtils-MakeMaker-CPANfile-0.06/Changes        2014-04-08 
16:30:11.000000000 +0200
+++ new/ExtUtils-MakeMaker-CPANfile-0.07/Changes        2015-12-09 
15:20:08.000000000 +0100
@@ -1,5 +1,8 @@
 Revision history for Perl extension ExtUtils-MakeMaker-CPANfile
 
+0.07  2015/12/09
+    - supported recommends, suggests, conflicts
+
 0.06  2014/04/08
     - set dynamic_config to false by default
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-MakeMaker-CPANfile-0.06/META.json 
new/ExtUtils-MakeMaker-CPANfile-0.07/META.json
--- old/ExtUtils-MakeMaker-CPANfile-0.06/META.json      2014-04-08 
16:30:27.000000000 +0200
+++ new/ExtUtils-MakeMaker-CPANfile-0.07/META.json      2015-12-09 
15:20:58.000000000 +0100
@@ -4,7 +4,7 @@
       "Kenichi Ishigaki <[email protected]>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.76, CPAN::Meta::Converter 
version 2.140640",
+   "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter 
version 2.143240",
    "license" : [
       "perl_5"
    ],
@@ -47,5 +47,5 @@
          "url" : "https://github.com/charsbar/ExtUtils-MakeMaker-CPANfile";
       }
    },
-   "version" : "0.06"
+   "version" : "0.07"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-MakeMaker-CPANfile-0.06/META.yml 
new/ExtUtils-MakeMaker-CPANfile-0.07/META.yml
--- old/ExtUtils-MakeMaker-CPANfile-0.06/META.yml       2014-04-08 
16:30:27.000000000 +0200
+++ new/ExtUtils-MakeMaker-CPANfile-0.07/META.yml       2015-12-09 
15:20:58.000000000 +0100
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.76, CPAN::Meta::Converter version 
2.140640'
+generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 
2.143240'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -26,4 +26,4 @@
   version: '0.76'
 resources:
   repository: https://github.com/charsbar/ExtUtils-MakeMaker-CPANfile
-version: '0.06'
+version: '0.07'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ExtUtils-MakeMaker-CPANfile-0.06/lib/ExtUtils/MakeMaker/CPANfile.pm 
new/ExtUtils-MakeMaker-CPANfile-0.07/lib/ExtUtils/MakeMaker/CPANfile.pm
--- old/ExtUtils-MakeMaker-CPANfile-0.06/lib/ExtUtils/MakeMaker/CPANfile.pm     
2014-04-08 16:30:11.000000000 +0200
+++ new/ExtUtils-MakeMaker-CPANfile-0.07/lib/ExtUtils/MakeMaker/CPANfile.pm     
2015-12-09 15:19:15.000000000 +0100
@@ -7,7 +7,7 @@
 use Module::CPANfile;
 use version;
 
-our $VERSION = "0.06";
+our $VERSION = "0.07";
 
 sub import {
   my $class = shift;
@@ -64,6 +64,26 @@
           $params{META_MERGE}{dynamic_config} = 0;
       }
 
+      # recommends, suggests, conflicts
+      my $requires_2_0;
+      for my $type (qw/recommends suggests conflicts/) {
+          for my $phase (qw/configure build test runtime develop/) {
+              my %tmp = %{$params{META_MERGE}{prereqs}{$phase} || {}};
+              _merge(
+                  \%tmp,
+                  _get($prereqs, $phase, $type),
+                  $type,
+              );
+              if ($tmp{$type}) {
+                  $params{META_MERGE}{prereqs}{$phase} = \%tmp;
+                  $requires_2_0 = 1;
+              }
+          }
+      }
+      if ($requires_2_0) { # for better recommends support
+          $params{META_MERGE}{"meta-spec"} ||= {version => 2};
+      }
+
       # XXX: better to use also META_MERGE when applicable?
 
       # As a small bonus, remove params that the installed version
@@ -209,7 +229,7 @@
 
 =head1 FOR MODULE AUTHORS
 
-Thoguh the minimum version requirement of ExtUtils::MakeMaker is
+Though the minimum version requirement of ExtUtils::MakeMaker is
 arbitrary set to 6.17 (the one bundled in Perl 5.8.1), you need
 at least EUMM 6.52 (with CONFIGURE_REQUIRES support) when you
 release a distribution.

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
#  override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
#preamble: |-
# BuildRequires:  gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

Reply via email to