Hello community, here is the log from the commit of package libdnf for openSUSE:Factory checked in at 2019-12-03 15:20:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdnf (Old) and /work/SRC/openSUSE:Factory/.libdnf.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdnf" Tue Dec 3 15:20:00 2019 rev:11 rq:752749 version:0.39.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libdnf/libdnf.changes 2019-05-12 11:45:13.959952308 +0200 +++ /work/SRC/openSUSE:Factory/.libdnf.new.4691/libdnf.changes 2019-12-03 15:20:04.562570142 +0100 @@ -1,0 +2,65 @@ +Sun Dec 1 16:19:11 UTC 2019 - Neal Gompa <ngomp...@gmail.com> + +- Update to version 0.39.1 + + Skip invalid key files in "/etc/pki/rpm-gpg" with warning (rh#1644040) + + Enable timestamp preserving for downloaded data (rh#1688537) + + Set default to skip_if_unavailable=false (rh#1679509) + + Add configuration option skip_if_unavailable (rh#1689931) + + Fix 'database is locked' error (rh#1631533) + + Replace the 'Failed to synchronize cache' message (rh#1712055) + + Fix 'no such table: main.trans_cmdline' error (rh#1596540) + + Add support of modular FailSafe (rh#1623128) (temporarily with warnings + instead of errors when installing modular RPMs without modular metadata) + + Add support of DNF main config file in context; used by PackageKit and + microdnf (rh#1689331) + + Exit gpg-agent after repokey import (rh#1650266) + + Don't disable nonexistent but required repositories (rh#1689331) + + Fix toString() to not insert [] (rh#1584442) + + Ignore trailing blank lines in config (rh#1722493) + + Fix handling large number of filenames on input (rh#1690915) + + Detect armv7 with crypto extension only on arm version >= 8 + + A new standardized User-Agent field consisting of the libdnf and OS version + (including the variant) (rh#1156007) + + Add basic countme support (rh#1647454) + + Fix crash in PackageKit (rh#1636803) + + Do not create @System.solv files (rh#1707995) + + Set LRO_CACHEDIR so zchunk works again (rh#1739867) + + Don't reinstall modified packages with the same NEVRA (rh#1644241) + + Fix bug when moving temporary repository metadata after download (rh#1700341) + + Improve detection of extras packages by comparing (name, arch) pair + instead of full NEVRA (RhBuh:1684517) + + Improve handling multilib packages in the history command (rh#1728637) + + Repo download: use full error description into the exception text (rh#1741442) + + Properly close hawkey.log (rh#1594016) + + Fix dnf updateinfo --update to not list advisories for packages updatable + only from non-enabled modules + + Apply modular filtering by package name (rh#1702729) + + Fully enable the modular fail safe mechanism (rh#1616167) + + Use more descriptive message when failed to retrieve GPG key (rh#1605117) + + Add removeMetadataTypeFromDownload function to the API + + Context part of libdnf can now read vars (urlvars) from dirs and environment + + Throw exception immediately if file cannot be opened + + Add test when there is no primary metadata in compatible format (rh#1744960) + + Don't abort on rpmdb checksum calculation failure + + Enable module dependency trees when using set_modules_enabled_by_pkgset() (rh#1762314) + + New method "Query::filterSubject()", replaces Solution::getBestSolution() + + The Solution class was removed + + Add query argument into get_best_query and get_best_solution + + Add module reset function into dnf_context + + Add method to get all repository metadata locations + + Catch NoModuleException in case of not existent value was used in persistor (rh#1761773) + + Handle NoModuleException in dnf_context_reset_modules (rh#1767453) + + Report reason how package was excluded (rh#1649754) + + Fix Arm detection improvements (rh#1691430) + + Set skip_if_unavailable to true for all media repos (rh#1716067) + + Only the pkg knows whether it is local or remote (rh#1734350, rh#1717865) + + Don't use repo's packages as path to local pkgs (rh#1734350, rh#1717865) +- Drop patch for temporarily dropping support for module advisories + * Patch: libdnf-0.31.0-Revert-support-for-Module-advisories.patch +- Refresh patches + * Remove patch: libdnf-0.28.1-with-static-libsolvext.patch + * Remove patch: libdnf-0.28.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch + * Add patch: libdnf-0.39.1-with-static-libsolvext.patch + * Add patch: libdnf-0.39.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch + +------------------------------------------------------------------- Old: ---- libdnf-0.28.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch libdnf-0.28.1-with-static-libsolvext.patch libdnf-0.31.0-Revert-support-for-Module-advisories.patch libdnf-0.33.0.tar.gz New: ---- libdnf-0.39.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch libdnf-0.39.1-with-static-libsolvext.patch libdnf-0.39.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdnf.spec ++++++ --- /var/tmp/diff_new_pack.PvwqEf/_old 2019-12-03 15:20:05.302569804 +0100 +++ /var/tmp/diff_new_pack.PvwqEf/_new 2019-12-03 15:20:05.306569802 +0100 @@ -16,14 +16,10 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%if (0%{?sle_version} && 0%{?sle_version} < 150200) - %global libsolv_version 0.7.3 -%else - %global libsolv_version 0.7.4 -%endif - +%global libsolv_version 0.7.7 %global libmodulemd_version 1.6.1 -%global librepo_version 1.9.6 +%global librepo_version 1.11.0 +%global dnf_conflict 4.2.13 %global swig_version 3.0.12 # Keep tests switched off for now, it bombs out on SUSE @@ -37,7 +33,7 @@ %define devname %{name}-devel Name: libdnf -Version: 0.33.0 +Version: 0.39.1 Release: 0 Summary: Library providing C and Python APIs atop libsolv License: LGPL-2.1-or-later @@ -46,13 +42,9 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE: Fix libdnf build with static libsolvext -Patch1000: libdnf-0.28.1-with-static-libsolvext.patch +Patch1000: libdnf-0.39.1-with-static-libsolvext.patch # PATCH-FIX-OPENSUSE: Switch default reposdir to /etc/dnf/repos.d -Patch1001: libdnf-0.28.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch - -# PATCH-FIX-SLE: Revert support for module advisories, since that requires libsolv 0.7.4 -## Drop when bsc#1133527 is fixed -Patch2001: libdnf-0.31.0-Revert-support-for-Module-advisories.patch +Patch1001: libdnf-0.39.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch BuildRequires: cmake BuildRequires: gcc @@ -75,6 +67,7 @@ BuildRequires: pkgconfig(modulemd) >= %{libmodulemd_version} BuildRequires: pkgconfig(smartcols) BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(zck) >= 0.9.11 # libsolv specific BRs BuildRequires: pkgconfig(liblzma) @@ -107,6 +100,7 @@ BuildRequires: python3-Sphinx BuildRequires: python3-devel BuildRequires: swig >= %{swig_version} +Conflicts: python3-dnf < %{dnf_conflict} %description -n python3-%{name} This package provides the Python 3 bindings for the libdnf library. @@ -138,8 +132,7 @@ Requires: %{libname}%{?_isa} = %{version}-%{release} Requires: python3-%{name}%{?_isa} = %{version}-%{release} Recommends: hawkey-man = %{version}-%{release} -# DNF older than 4.0.0 isn't compatible with this -Conflicts: python3-dnf < 4.0.0 +Conflicts: python3-dnf < %{dnf_conflict} # Python 2 subpackage has been dropped Obsoletes: python2-hawkey < 0.24.1 @@ -153,11 +146,6 @@ %prep %autosetup -p1 -%if (0%{?sle_version} && 0%{?sle_version} > 150100) || 0%{?suse_version} > 1500 -# Revert this patch for SLE 15 >SP1 and SUSE Linux >15 -%patch2001 -R -p1 -%endif - # Fix sphinx-build run... sed -e "s/sphinx-build-3/sphinx-build-%{python3_version}/" -i docs/hawkey/CMakeLists.txt ++++++ libdnf-0.28.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch -> libdnf-0.39.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch ++++++ --- /work/SRC/openSUSE:Factory/libdnf/libdnf-0.28.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch 2019-04-01 12:39:54.489959562 +0200 +++ /work/SRC/openSUSE:Factory/.libdnf.new.4691/libdnf-0.39.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch 2019-12-03 15:20:04.206570306 +0100 @@ -1,6 +1,6 @@ -From 13bada30c469857556dce4f392c2f36f08415d0d Mon Sep 17 00:00:00 2001 +From f4f097d3d3c25b292f05e8e3cc9a719ab5b78003 Mon Sep 17 00:00:00 2001 From: Neal Gompa <ngomp...@gmail.com> -Date: Sun, 31 Mar 2019 11:23:20 -0400 +Date: Sun, 1 Dec 2019 11:17:43 -0500 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 5ec929f..37abf54 100644 +index fe1ccbd..51027c8 100644 --- a/libdnf/conf/ConfigMain.cpp +++ b/libdnf/conf/ConfigMain.cpp -@@ -179,7 +179,7 @@ class ConfigMain::Impl { - OptionBool keepcache{false}; - OptionString logdir{"/var/log"}; - OptionStringList varsdir{std::vector<std::string>{"/etc/dnf/vars", "/etc/yum/vars"}}; +@@ -185,7 +185,7 @@ class ConfigMain::Impl { + OptionNumber<std::int32_t> log_size{1024 * 1024, strToBytes}; + OptionNumber<std::int32_t> log_rotate{4, 0}; + OptionStringList varsdir{VARS_DIRS}; - 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"}}; OptionBool debug_solver{false}; OptionStringList installonlypkgs{INSTALLONLYPKGS}; OptionStringList group_package_types{GROUP_PACKAGE_TYPES}; -- -2.20.1 +2.21.0 ++++++ libdnf-0.28.1-with-static-libsolvext.patch -> libdnf-0.39.1-with-static-libsolvext.patch ++++++ --- /work/SRC/openSUSE:Factory/libdnf/libdnf-0.28.1-with-static-libsolvext.patch 2019-04-01 12:39:54.541959588 +0200 +++ /work/SRC/openSUSE:Factory/.libdnf.new.4691/libdnf-0.39.1-with-static-libsolvext.patch 2019-12-03 15:20:04.370570231 +0100 @@ -1,6 +1,6 @@ -From 55d7ee8a96731318b6351546d95497e5f49e1aec Mon Sep 17 00:00:00 2001 +From f47193391e642f6ec418fa07cf13a13a6f866fce Mon Sep 17 00:00:00 2001 From: Neal Gompa <ngomp...@gmail.com> -Date: Sun, 31 Mar 2019 11:19:53 -0400 +Date: Sun, 1 Dec 2019 11:15:07 -0500 Subject: [PATCH] Ensure libsolvext dynamic library dependencies are linked libsolv, when built only build with static link libraries, does not @@ -12,25 +12,17 @@ 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 | 13 +++++++++++++ + CMakeLists.txt | 12 ++++++++++++ cmake/modules/FindLZMA.cmake | 25 +++++++++++++++++++++++++ libdnf/CMakeLists.txt | 5 +++++ - 3 files changed, 43 insertions(+) + 3 files changed, 42 insertions(+) create mode 100644 cmake/modules/FindLZMA.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt -index 16b6330..71047ab 100644 +index 834eea0..eba53cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -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) - -+ - # always enable linking with libdnf utils - include_directories(${CMAKE_SOURCE_DIR} libdnf/utils/) - -@@ -101,6 +102,18 @@ endif() +@@ -108,6 +108,18 @@ endif() # valgrind path find_program(VALGRIND_PROGRAM NAMES valgrind PATH /usr/bin /usr/local/bin) @@ -48,7 +40,7 @@ +# End static libsolvext dynamic library dependencies # 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) + 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 @@ -81,10 +73,10 @@ + SET( LZMA_LIBRARIES ) +ENDIF(LZMA_FOUND) diff --git a/libdnf/CMakeLists.txt b/libdnf/CMakeLists.txt -index d02244a..87cb010 100644 +index dcee38b..62beb2b 100644 --- a/libdnf/CMakeLists.txt +++ b/libdnf/CMakeLists.txt -@@ -73,6 +73,11 @@ target_link_libraries(libdnf +@@ -72,6 +72,11 @@ target_link_libraries(libdnf ${LIBMODULEMD_LIBRARIES} ${SMARTCOLS_LIBRARIES} ${GPGME_VANILLA_LIBRARIES} @@ -97,5 +89,5 @@ if(ENABLE_RHSM_SUPPORT) -- -2.20.1 +2.21.0 ++++++ libdnf-0.33.0.tar.gz -> libdnf-0.39.1.tar.gz ++++++ ++++ 58179 lines of diff (skipped)