Hello community, here is the log from the commit of package libdnf for openSUSE:Factory checked in at 2020-07-15 11:23:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdnf (Old) and /work/SRC/openSUSE:Factory/.libdnf.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdnf" Wed Jul 15 11:23:11 2020 rev:16 rq:819222 version:0.48.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libdnf/libdnf.changes 2020-04-04 12:17:45.459538175 +0200 +++ /work/SRC/openSUSE:Factory/.libdnf.new.3060/libdnf.changes 2020-07-15 11:24:52.345587816 +0200 @@ -1,0 +2,49 @@ +Tue Jul 7 11:13:56 UTC 2020 - Neal Gompa <ngomp...@gmail.com> + +- Update to version 0.48.0 + + Add prereq_ignoreinst & regular_requires properties for pkg (rh#1543449) + + Reset active modules when no module enabled or default (rh#1767351) + + Add comment option to transaction (rh#1773679) + + Failing to get module defauls is a recoverable error + + Baseurl is not exclusive with mirrorlist/metalink (rh#1775184) + + Add new function to reset all modules in C API (dnf_context_reset_all_modules) + + [context] Fix to preserve additionalMetadata content (rh#1808677) + + Fix filtering of DepSolvables with source rpms (rh#1812596) + + Add setter for running kernel protection setting + + Handle situation when an unprivileged user cannot create history database (rh#1634385) + + Add query filter: latest by priority + + Add DNF_NO_PROTECTED flag to allow empty list of protected packages + + Remove 'dim' option from terminal colors to make them more readable (rh#1807774, rh#1814563) + + [context] Error when main config file can't be opened (rh#1794864) + + [context] Add function function dnf_context_is_set_config_file_path + + swdb: Catch only SQLite3 exceptions and simplify the messages + + MergedTransaction list multiple comments (rh#1773679) + + Modify CMake to pull *.po files from weblate + + Optimize DependencyContainer creation from an existing queue + + fix a memory leak in dnf_package_get_requires() + + Fix memory leaks on g_build_filename() + + Fix memory leak in dnf_context_setup() + + Add `hy_goal_favor` and `hy_goal_disfavor` + + Define a cleanup function for `DnfPackageSet` + + dnf-repo: fix dnf_repo_get_public_keys double-free + + Do not cache RPMDB + + Use single-quotes around string literals used in SQL statements + + SQLite3: Do not close the database if it wasn't opened (rh#1761976) + + Don't create a new history DB connection for in-memory DB + + transaction/Swdb: Use a single logger variable in constructor + + utils: Add a safe version of pathExists() + + swdb: Handle the case when pathExists() fails on e.g. permission + + Repo: prepend "file://" if a local path is used as baseurl + + Move urlEncode() to utils + + utils: Add 'exclude' argument to urlEncode() + + Encode package URL for downloading through librepo (rh#1817130) + + Replace std::runtime_error with libdnf::RepoError + + Fixes and error handling improvements of the File class + + [context] Use ConfigRepo for gpgkey and baseurl (rh#1807864) + + [context] support "priority" option in .repo config file (rh#1797265) +- Drop obsolete patch: libdnf-0.45.0-handle-all-rpmdb-variants.patch +- Refresh patch for static linking libsolvext + + Remove patch: libdnf-0.39.1-with-static-libsolvext.patch + + Add patch: libdnf-0.48.0-with-static-libsolvext.patch + +------------------------------------------------------------------- Old: ---- libdnf-0.39.1-with-static-libsolvext.patch libdnf-0.45.0-handle-all-rpmdb-variants.patch libdnf-0.45.0.tar.gz New: ---- libdnf-0.48.0-with-static-libsolvext.patch libdnf-0.48.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdnf.spec ++++++ --- /var/tmp/diff_new_pack.pIwJqf/_old 2020-07-15 11:24:55.789591225 +0200 +++ /var/tmp/diff_new_pack.pIwJqf/_new 2020-07-15 11:24:55.793591228 +0200 @@ -18,8 +18,8 @@ %global libsolv_version 0.7.7 %global libmodulemd_version 2.5.0 -%global librepo_version 1.11.0 -%global dnf_conflict 4.2.13 +%global librepo_version 1.12.0 +%global dnf_conflict 4.2.23 %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.45.0 +Version: 0.48.0 Release: 0 Summary: Library providing C and Python APIs atop libsolv License: LGPL-2.1-or-later @@ -42,11 +42,9 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE: Fix libdnf build with static libsolvext -Patch1000: libdnf-0.39.1-with-static-libsolvext.patch +Patch1000: libdnf-0.48.0-with-static-libsolvext.patch # PATCH-FIX-OPENSUSE: Switch default reposdir to /etc/dnf/repos.d Patch1001: libdnf-0.39.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch -# PATCH-FIX-OPENSUSE: Handle monitoring non-bdb rpmdb variants -Patch1002: libdnf-0.45.0-handle-all-rpmdb-variants.patch BuildRequires: cmake BuildRequires: gcc ++++++ libdnf-0.39.1-with-static-libsolvext.patch -> libdnf-0.48.0-with-static-libsolvext.patch ++++++ --- /work/SRC/openSUSE:Factory/libdnf/libdnf-0.39.1-with-static-libsolvext.patch 2019-12-03 15:20:04.370570231 +0100 +++ /work/SRC/openSUSE:Factory/.libdnf.new.3060/libdnf-0.48.0-with-static-libsolvext.patch 2020-07-15 11:24:43.881579438 +0200 @@ -1,4 +1,4 @@ -From f47193391e642f6ec418fa07cf13a13a6f866fce Mon Sep 17 00:00:00 2001 +From bc5655f45288817fbab97fb60d4f6bc01a716ba5 Mon Sep 17 00:00:00 2001 From: Neal Gompa <ngomp...@gmail.com> Date: Sun, 1 Dec 2019 11:15:07 -0500 Subject: [PATCH] Ensure libsolvext dynamic library dependencies are linked @@ -12,19 +12,19 @@ This patch works around it by doing the declarations here rather than in libsolv, since it's not easy to fix there, given upstream constraints. --- - CMakeLists.txt | 12 ++++++++++++ + CMakeLists.txt | 13 +++++++++++++ cmake/modules/FindLZMA.cmake | 25 +++++++++++++++++++++++++ libdnf/CMakeLists.txt | 5 +++++ - 3 files changed, 42 insertions(+) + 3 files changed, 43 insertions(+) create mode 100644 cmake/modules/FindLZMA.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt -index 834eea0..eba53cd 100644 +index 40d64fc4..a6bff0b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -108,6 +108,18 @@ endif() - # valgrind path - find_program(VALGRIND_PROGRAM NAMES valgrind PATH /usr/bin /usr/local/bin) +@@ -68,6 +68,19 @@ pkg_check_modules(RPM REQUIRED rpm>=4.11.0) + pkg_check_modules(SMARTCOLS REQUIRED smartcols) + pkg_check_modules(SQLite3 REQUIRED sqlite3) +# Ensure that static libsolvext dynamic library dependencies are linked in +# libxml2 dependency @@ -38,12 +38,13 @@ +# zstd dependency +find_library (ZSTD_LIBRARY NAMES zstd) +# End static libsolvext dynamic library dependencies ++ + # always enable linking with libdnf utils + include_directories(${CMAKE_SOURCE_DIR} libdnf/utils/) - # compiler options - add_compile_options(-Wcast-align -Wno-uninitialized -Wredundant-decls -Wwrite-strings -Wformat-nonliteral -Wmissing-format-attribute -Wsign-compare -Wtype-limits -Wuninitialized -Wall -Wl,--as-needed) diff --git a/cmake/modules/FindLZMA.cmake b/cmake/modules/FindLZMA.cmake new file mode 100644 -index 0000000..eb112df +index 00000000..eb112dff --- /dev/null +++ b/cmake/modules/FindLZMA.cmake @@ -0,0 +1,25 @@ @@ -73,7 +74,7 @@ + SET( LZMA_LIBRARIES ) +ENDIF(LZMA_FOUND) diff --git a/libdnf/CMakeLists.txt b/libdnf/CMakeLists.txt -index dcee38b..62beb2b 100644 +index dcee38b1..62beb2b0 100644 --- a/libdnf/CMakeLists.txt +++ b/libdnf/CMakeLists.txt @@ -72,6 +72,11 @@ target_link_libraries(libdnf @@ -89,5 +90,5 @@ if(ENABLE_RHSM_SUPPORT) -- -2.21.0 +2.26.2 ++++++ libdnf-0.45.0.tar.gz -> libdnf-0.48.0.tar.gz ++++++ ++++ 67250 lines of diff (skipped)