Hello community,

here is the log from the commit of package virt-v2v for openSUSE:Factory 
checked in at 2014-07-23 22:07:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/virt-v2v (Old)
 and      /work/SRC/openSUSE:Factory/.virt-v2v.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "virt-v2v"

Changes:
--------
--- /work/SRC/openSUSE:Factory/virt-v2v/virt-v2v.changes        2014-05-14 
10:48:36.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.virt-v2v.new/virt-v2v.changes   2014-07-24 
01:23:09.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Jul 22 21:23:48 UTC 2014 - mlati...@suse.com
+
+- Prevent build failures (due to META.yml failing to build) by changing
+  the meta 'resources->license' from a scalar to a list. (bnc#888461) 
+  meta_license_to_list.patch
+
+-------------------------------------------------------------------

New:
----
  meta_license_to_list.patch

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

Other differences:
------------------
++++++ virt-v2v.spec ++++++
--- /var/tmp/diff_new_pack.soVrg2/_old  2014-07-24 01:23:10.000000000 +0200
+++ /var/tmp/diff_new_pack.soVrg2/_new  2014-07-24 01:23:10.000000000 +0200
@@ -41,6 +41,7 @@
 Patch12:        rename_vb_examples.patch
 Patch13:        reset_virtio_after_config.patch
 Patch14:        handle_ova_files.patch
+Patch50:        meta_license_to_list.patch
 Patch99:        remove_esx_examples.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -162,6 +163,10 @@
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
+# Apply meta_license_to_list.patch only for versions > SLES12
+%if 0%{?suse_version} >= 1320
+%patch50 -p1
+%endif
 # Apply remove_esx_example.patch only under SLES12
 %if 0%{?suse_version} == 1315
 %patch99 -p1

++++++ meta_license_to_list.patch ++++++
With CPAN-Meta commits a210f190 and 333e5c94, the resource->license value is
now required to be a list. Previous to these commits, a scalar was legal, and
converted to a list automatically (for meta-spec v2.0). This change is included
in perl-5.20, and it requires the license meta value to be changed to a list in
Build.PL.

Changing resource->license to a list is not compatible with the meta-spec v1.4,
which is included with perl-5.18. Therefore this patch must only be applied to
environments newer than SLE-12.


Index: virt-v2v-0.9.1/Build.PL
===================================================================
--- virt-v2v-0.9.1.orig/Build.PL
+++ virt-v2v-0.9.1/Build.PL
@@ -316,7 +316,7 @@ my $build = $class->new (
     script_files => [ 'v2v/virt-v2v.pl', 'p2v/server/virt-p2v-server.pl' ],
     meta_add => {
         resources => {
-          license => "http://www.gnu.org/licenses/gpl.html";,
+          license => [ "http://www.gnu.org/licenses/gpl.html"; ],
           homepage =>  "http://people.redhat.com/mbooth/virt-v2v/";,
           repository => "git://git.fedorahosted.org/virt-v2v.git",
           MailingList => "http://www.redhat.com/mailman/listinfo/libguestfs";,
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to