Hello community,
here is the log from the commit of package yast2-pkg-bindings for
openSUSE:Leap:15.2 checked in at 2020-02-04 17:53:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/yast2-pkg-bindings (Old)
and /work/SRC/openSUSE:Leap:15.2/.yast2-pkg-bindings.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-pkg-bindings"
Tue Feb 4 17:53:48 2020 rev:57 rq:766286 version:4.2.5
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/yast2-pkg-bindings/yast2-pkg-bindings.changes
2020-01-15 16:32:18.316882115 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.yast2-pkg-bindings.new.26092/yast2-pkg-bindings.changes
2020-02-04 17:54:08.636739289 +0100
@@ -1,0 +2,7 @@
+Mon Jan 13 12:18:43 UTC 2020 - Petr Pavlu <[email protected]>
+
+- Fix calculation of replaced products in Pkg.Resolvable2YCPMap()
+ (bsc#1157202)
+- 4.2.5
+
+-------------------------------------------------------------------
Old:
----
yast2-pkg-bindings-4.2.4.tar.bz2
New:
----
yast2-pkg-bindings-4.2.5.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-pkg-bindings-devel-doc.spec ++++++
--- /var/tmp/diff_new_pack.FFzZrT/_old 2020-02-04 17:54:09.396739747 +0100
+++ /var/tmp/diff_new_pack.FFzZrT/_new 2020-02-04 17:54:09.396739747 +0100
@@ -1,7 +1,7 @@
#
# spec file for package yast2-pkg-bindings-devel-doc
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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,7 +17,7 @@
Name: yast2-pkg-bindings-devel-doc
-Version: 4.2.4
+Version: 4.2.5
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-pkg-bindings-%{version}.tar.bz2
++++++ yast2-pkg-bindings.spec ++++++
--- /var/tmp/diff_new_pack.FFzZrT/_old 2020-02-04 17:54:09.412739757 +0100
+++ /var/tmp/diff_new_pack.FFzZrT/_new 2020-02-04 17:54:09.416739759 +0100
@@ -1,7 +1,7 @@
#
# spec file for package yast2-pkg-bindings
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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,7 +17,7 @@
Name: yast2-pkg-bindings
-Version: 4.2.4
+Version: 4.2.5
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-pkg-bindings-4.2.4.tar.bz2 -> yast2-pkg-bindings-4.2.5.tar.bz2
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-pkg-bindings-4.2.4/package/yast2-pkg-bindings-devel-doc.spec
new/yast2-pkg-bindings-4.2.5/package/yast2-pkg-bindings-devel-doc.spec
--- old/yast2-pkg-bindings-4.2.4/package/yast2-pkg-bindings-devel-doc.spec
2019-12-20 14:11:43.000000000 +0100
+++ new/yast2-pkg-bindings-4.2.5/package/yast2-pkg-bindings-devel-doc.spec
2020-01-15 14:41:27.000000000 +0100
@@ -16,7 +16,7 @@
#
Name: yast2-pkg-bindings-devel-doc
-Version: 4.2.4
+Version: 4.2.5
Release: 0
License: GPL-2.0-only
Group: Documentation/HTML
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-pkg-bindings-4.2.4/package/yast2-pkg-bindings.changes
new/yast2-pkg-bindings-4.2.5/package/yast2-pkg-bindings.changes
--- old/yast2-pkg-bindings-4.2.4/package/yast2-pkg-bindings.changes
2019-12-20 14:11:43.000000000 +0100
+++ new/yast2-pkg-bindings-4.2.5/package/yast2-pkg-bindings.changes
2020-01-15 14:41:27.000000000 +0100
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Mon Jan 13 12:18:43 UTC 2020 - Petr Pavlu <[email protected]>
+
+- Fix calculation of replaced products in Pkg.Resolvable2YCPMap()
+ (bsc#1157202)
+- 4.2.5
+
+-------------------------------------------------------------------
Thu Dec 12 15:52:08 UTC 2019 - Imobach Gonzalez Sosa <[email protected]>
- Include the "deps" resolvable property even when it is empty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-pkg-bindings-4.2.4/package/yast2-pkg-bindings.spec
new/yast2-pkg-bindings-4.2.5/package/yast2-pkg-bindings.spec
--- old/yast2-pkg-bindings-4.2.4/package/yast2-pkg-bindings.spec
2019-12-20 14:11:43.000000000 +0100
+++ new/yast2-pkg-bindings-4.2.5/package/yast2-pkg-bindings.spec
2020-01-15 14:41:27.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-pkg-bindings
-Version: 4.2.4
+Version: 4.2.5
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-pkg-bindings-4.2.4/src/Resolvable_Properties.cc
new/yast2-pkg-bindings-4.2.5/src/Resolvable_Properties.cc
--- old/yast2-pkg-bindings-4.2.4/src/Resolvable_Properties.cc 2019-12-20
14:11:43.000000000 +0100
+++ new/yast2-pkg-bindings-4.2.5/src/Resolvable_Properties.cc 2020-01-15
14:41:27.000000000 +0100
@@ -406,13 +406,17 @@
rprod->add(YCPString("description"),
YCPString(replacedProduct->description()));
std::string product_summary =
replacedProduct->summary();
- ADD_NOT_EMPTY_STRING("display_name",
product_summary);
+ if (!product_summary.empty())
+ rprod->add(YCPString("display_name"),
YCPString(product_summary));
std::string product_shortname =
replacedProduct->shortName();
- ADD_NOT_EMPTY_STRING("short_name",
product_shortname)
+ if (!product_shortname.empty())
+ rprod->add(YCPString("short_name"),
YCPString(product_shortname));
// use summary for the short name if it's
defined
- else if (product_summary.size() > 0)
+ else if (!product_summary.empty())
rprod->add(YCPString("short_name"),
YCPString(product_summary));
+
+ rep_prods->add(rprod);
}
info->add(YCPString("replaces"), rep_prods);