Hello community,
here is the log from the commit of package libdnf for openSUSE:Factory checked in at 2019-04-01 12:39:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libdnf (Old)
and /work/SRC/openSUSE:Factory/.libdnf.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdnf"
Mon Apr 1 12:39:51 2019 rev:8 rq:690193 version:0.28.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/libdnf/libdnf.changes 2019-02-27 15:09:10.334391783 +0100
+++ /work/SRC/openSUSE:Factory/.libdnf.new.25356/libdnf.changes 2019-04-01 12:39:54.793959710 +0200
@@ -1,0 +2,31 @@
+Sun Mar 31 15:26:00 UTC 2019 - Neal Gompa
+
+- Update to version 0.28.1
+ + Enhance modular solver to handle enabled and default module streams differently (rh#1648839)
+ + Add support of wild cards for modules (rh#1644588)
+ + Exclude module pkgs that have conflict
+ + Enhance config parser to preserve order of data, and keep comments and format
+ + Improve ARM detection
+ + Add support for SHA-384
+ + Return empty query if incorrect reldep (rh#1687135)
+ + ConfigParser: Improve compatibility with Python ConfigParser and dnf-plugin-spacewalk (rh#1692044)
+ + ConfigParser: Unify default set of string represenation of boolean values
+ + Fix segfault when interrupting dnf process (rh#1610456)
+- Drop backported patches that are part of this release
+ * 0001-Reset-callback-to-NULL-RhBug-1637923.patch
+ * 0002-reldep-list-Add-glib-AUTOPTR-cleanup.patch
+ * 0003-swdb-Put-Swdb-constructors-together.patch
+ * 0004-utils-Drop-empty-else-block.patch
+ * 0005-transformer-Fix-minor-docstring-typo.patch
+ * 0006-repo-Squash-Wmaybe-uninitialized-warning.patch
+ * 0007-transaction-Consistently-use-the-same-swdb-variable.patch
+ * 0008-transaction-Minor-syntax-tweak.patch
+ * 0101-Zchunk-configuration-flags-were-backwards-so-setting.patch
+ * 0102-hy_repos-weren-t-being-filled-properly-when-using-zc.patch
+- Refresh patches
+ * Remove patch: libdnf-0.24.1-with-static-libsolvext.patch
+ * Remove patch: libdnf-0.24.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch
+ * Add patch: libdnf-0.28.1-with-static-libsolvext.patch
+ * Add patch: libdnf-0.28.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch
+
+-------------------------------------------------------------------
Old:
----
0001-Reset-callback-to-NULL-RhBug-1637923.patch
0002-reldep-list-Add-glib-AUTOPTR-cleanup.patch
0003-swdb-Put-Swdb-constructors-together.patch
0004-utils-Drop-empty-else-block.patch
0005-transformer-Fix-minor-docstring-typo.patch
0006-repo-Squash-Wmaybe-uninitialized-warning.patch
0007-transaction-Consistently-use-the-same-swdb-variable.patch
0008-transaction-Minor-syntax-tweak.patch
0101-Zchunk-configuration-flags-were-backwards-so-setting.patch
0102-hy_repos-weren-t-being-filled-properly-when-using-zc.patch
libdnf-0.24.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch
libdnf-0.24.1-with-static-libsolvext.patch
libdnf-0.24.1.tar.gz
New:
----
libdnf-0.28.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch
libdnf-0.28.1-with-static-libsolvext.patch
libdnf-0.28.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libdnf.spec ++++++
--- /var/tmp/diff_new_pack.DCPDxe/_old 2019-04-01 12:39:56.605960590 +0200
+++ /var/tmp/diff_new_pack.DCPDxe/_new 2019-04-01 12:39:56.605960590 +0200
@@ -19,7 +19,7 @@
%global libsolv_version 0.6.34
%global libmodulemd_version 1.6.1
-%global librepo_version 1.9.3
+%global librepo_version 1.9.6
%global swig_version 3.0.12
# Keep tests switched off for now, it bombs out on SUSE
@@ -33,7 +33,7 @@
%define devname %{name}-devel
Name: libdnf
-Version: 0.24.1
+Version: 0.28.1
Release: 0
Summary: Library providing C and Python APIs atop libsolv
License: LGPL-2.1-or-later
@@ -41,25 +41,10 @@
Url: https://github.com/rpm-software-management/%{name}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM: Backports from upstream
-Patch0001: 0001-Reset-callback-to-NULL-RhBug-1637923.patch
-Patch0002: 0002-reldep-list-Add-glib-AUTOPTR-cleanup.patch
-Patch0003: 0003-swdb-Put-Swdb-constructors-together.patch
-Patch0004: 0004-utils-Drop-empty-else-block.patch
-Patch0005: 0005-transformer-Fix-minor-docstring-typo.patch
-Patch0006: 0006-repo-Squash-Wmaybe-uninitialized-warning.patch
-Patch0007: 0007-transaction-Consistently-use-the-same-swdb-variable.patch
-Patch0008: 0008-transaction-Minor-syntax-tweak.patch
-
-# PATCH-FIX-UPSTREAM: Proposed fixes for zchunk
-# From: https://github.com/rpm-software-management/libdnf/pull/663
-Patch0101: 0101-Zchunk-configuration-flags-were-backwards-so-setting.patch
-Patch0102: 0102-hy_repos-weren-t-being-filled-properly-when-using-zc.patch
-
# PATCH-FIX-OPENSUSE: Fix libdnf build with static libsolvext
-Patch1000: libdnf-0.24.1-with-static-libsolvext.patch
+Patch1000: libdnf-0.28.1-with-static-libsolvext.patch
# PATCH-FIX-OPENSUSE: Switch default reposdir to /etc/dnf/repos.d
-Patch1001: libdnf-0.24.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch
+Patch1001: libdnf-0.28.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch
BuildRequires: cmake
BuildRequires: gcc
@@ -100,6 +85,8 @@
Recommends: %{name}-lang = %{version}-%{release}
# gobject-introspection is no longer used
Obsoletes: typelib-1_0-Dnf-1_0 < 0.24.1
+# To avoid API issues with librepo and incomprehensible crashes
+Requires: librepo0%{?_isa} >= %{librepo_version}
%description -n %{libname}
This library provides an interface atop libsolv, and a high-level
++++++ libdnf-0.24.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch -> libdnf-0.28.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch ++++++
--- /work/SRC/openSUSE:Factory/libdnf/libdnf-0.24.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch 2019-02-20 14:10:47.742950169 +0100
+++ /work/SRC/openSUSE:Factory/.libdnf.new.25356/libdnf-0.28.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch 2019-04-01 12:39:54.489959562 +0200
@@ -1,6 +1,6 @@
-From 9b5952d9c45f9b9575c2f00e94aba4d45b141e89 Mon Sep 17 00:00:00 2001
+From 13bada30c469857556dce4f392c2f36f08415d0d Mon Sep 17 00:00:00 2001
From: Neal Gompa
-Date: Thu, 7 Feb 2019 01:14:33 -0500
+Date: Sun, 31 Mar 2019 11:23:20 -0400
Subject: [PATCH] Switch default reposdir to /etc/dnf/repos.d
---
@@ -8,18 +8,18 @@
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libdnf/conf/ConfigMain.cpp b/libdnf/conf/ConfigMain.cpp
-index 6964f3e5..84878cc7 100644
+index 5ec929f..37abf54 100644
--- a/libdnf/conf/ConfigMain.cpp
+++ b/libdnf/conf/ConfigMain.cpp
-@@ -208,7 +208,7 @@ class ConfigMain::Impl {
+@@ -179,7 +179,7 @@ class ConfigMain::Impl {
+ OptionBool keepcache{false};
OptionString logdir{"/var/log"};
- OptionBinding logDirBinding{owner, logdir, "logdir"};
-
+ OptionStringList varsdir{std::vectorstd::string{"/etc/dnf/vars", "/etc/yum/vars"}};
- OptionStringList reposdir{{"/etc/yum.repos.d", "/etc/yum/repos.d", "/etc/distro.repos.d"}};
+ OptionStringList reposdir{{"/etc/dnf/repos.d", "/etc/yum.repos.d", "/etc/yum/repos.d", "/etc/distro.repos.d"}};
- OptionBinding reposDirBinding{owner, reposdir, "reposdir"};
-
OptionBool debug_solver{false};
+ OptionStringList installonlypkgs{INSTALLONLYPKGS};
+ OptionStringList group_package_types{GROUP_PACKAGE_TYPES};
--
2.20.1
++++++ libdnf-0.24.1-with-static-libsolvext.patch -> libdnf-0.28.1-with-static-libsolvext.patch ++++++
--- /work/SRC/openSUSE:Factory/libdnf/libdnf-0.24.1-with-static-libsolvext.patch 2019-02-20 14:10:47.750950166 +0100
+++ /work/SRC/openSUSE:Factory/.libdnf.new.25356/libdnf-0.28.1-with-static-libsolvext.patch 2019-04-01 12:39:54.541959588 +0200
@@ -1,6 +1,6 @@
-From a24c0c00d7c78c386492cfafeb3968a9f9e6ebfa Mon Sep 17 00:00:00 2001
+From 55d7ee8a96731318b6351546d95497e5f49e1aec Mon Sep 17 00:00:00 2001
From: Neal Gompa
-Date: Tue, 5 Feb 2019 08:45:33 -0500
+Date: Sun, 31 Mar 2019 11:19:53 -0400
Subject: [PATCH] Ensure libsolvext dynamic library dependencies are linked
libsolv, when built only build with static link libraries, does not
@@ -14,17 +14,25 @@
---
CMakeLists.txt | 13 +++++++++++++
cmake/modules/FindLZMA.cmake | 25 +++++++++++++++++++++++++
- libdnf/CMakeLists.txt | 8 +++++++-
- 3 files changed, 45 insertions(+), 1 deletion(-)
+ libdnf/CMakeLists.txt | 5 +++++
+ 3 files changed, 43 insertions(+)
create mode 100644 cmake/modules/FindLZMA.cmake
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 4f92a1c..d2aa64c 100644
+index 16b6330..71047ab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -67,6 +67,19 @@ FIND_PACKAGE (OpenSSL REQUIRED)
+@@ -63,6 +63,7 @@ pkg_check_modules(RPM REQUIRED rpm>=4.11.0)
+ pkg_check_modules(SMARTCOLS REQUIRED smartcols)
+ pkg_check_modules(SQLite3 REQUIRED sqlite3)
- FIND_PROGRAM (VALGRIND_PROGRAM NAMES valgrind PATH /usr/bin /usr/local/bin)
++
+ # always enable linking with libdnf utils
+ include_directories(${CMAKE_SOURCE_DIR} libdnf/utils/)
+
+@@ -101,6 +102,18 @@ endif()
+ # valgrind path
+ find_program(VALGRIND_PROGRAM NAMES valgrind PATH /usr/bin /usr/local/bin)
+# Ensure that static libsolvext dynamic library dependencies are linked in
+# libxml2 dependency
@@ -36,12 +44,11 @@
+# bzip2 dependency
+find_package (BZip2 REQUIRED)
+# zstd dependency
-+FIND_LIBRARY (ZSTD_LIBRARY NAMES zstd)
++find_library (ZSTD_LIBRARY NAMES zstd)
+# End static libsolvext dynamic library dependencies
-+
- IF (ENABLE_SOLV_URPMREORDER)
- ADD_DEFINITIONS(-DLIBSOLV_FLAG_URPMREORDER=1)
- ENDIF()
+
+ # compiler options
+ add_compile_options(-Wcast-align -Wno-uninitialized -Wredundant-decls -Wwrite-strings -Wformat-nonliteral -Wmissing-format-attribute -Wsign-compare -Wtype-limits -Wuninitialized -Wall -Werror=implicit-function-declaration -Wl,--as-needed)
diff --git a/cmake/modules/FindLZMA.cmake b/cmake/modules/FindLZMA.cmake
new file mode 100644
index 0000000..eb112df
@@ -74,24 +81,21 @@
+ SET( LZMA_LIBRARIES )
+ENDIF(LZMA_FOUND)
diff --git a/libdnf/CMakeLists.txt b/libdnf/CMakeLists.txt
-index 7bf1cfd..d51eea7 100644
+index d02244a..87cb010 100644
--- a/libdnf/CMakeLists.txt
+++ b/libdnf/CMakeLists.txt
-@@ -71,7 +71,13 @@ TARGET_LINK_LIBRARIES(libdnf
- ${JSONC_LIBRARIES}
- ${LIBMODULEMD_LIBRARIES}
- ${SMARTCOLS_LIBRARIES}
-- ${GPGME_VANILLA_LIBRARIES})
-+ ${GPGME_VANILLA_LIBRARIES}
-+ ${LIBXML2_LIBRARIES}
-+ ${ZLIB_LIBRARY}
-+ ${LZMA_LIBRARY}
-+ ${BZIP2_LIBRARY}
-+ ${ZSTD_LIBRARY}
-+ )
+@@ -73,6 +73,11 @@ target_link_libraries(libdnf
+ ${LIBMODULEMD_LIBRARIES}
+ ${SMARTCOLS_LIBRARIES}
+ ${GPGME_VANILLA_LIBRARIES}
++ ${LIBXML2_LIBRARIES}
++ ${ZLIB_LIBRARY}
++ ${LZMA_LIBRARY}
++ ${BZIP2_LIBRARY}
++ ${ZSTD_LIBRARY}
+ )
- if (ENABLE_RHSM_SUPPORT)
- target_link_libraries (libdnf ${RHSM_LIBRARIES})
+ if(ENABLE_RHSM_SUPPORT)
--
2.20.1
++++++ libdnf-0.24.1.tar.gz -> libdnf-0.28.1.tar.gz ++++++
++++ 48942 lines of diff (skipped)