Update to 4.19.0

This commit is contained in:
Jan Kolarik 2024-02-08 16:45:37 +01:00
parent 1512e0803d
commit 472e30924f
4 changed files with 18 additions and 29 deletions

1
.gitignore vendored
View File

@ -162,3 +162,4 @@
/dnf-4.18.0.tar.gz /dnf-4.18.0.tar.gz
/dnf-4.18.1.tar.gz /dnf-4.18.1.tar.gz
/dnf-4.18.2.tar.gz /dnf-4.18.2.tar.gz
/dnf-4.19.0.tar.gz

View File

@ -1,21 +0,0 @@
From 910f913185545841bbcf66e695c91532eb2535dc Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Sat, 20 Jan 2024 22:28:55 +0100
Subject: [PATCH] disable deltarpm support in default configuration
---
etc/dnf/dnf.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/etc/dnf/dnf.conf b/etc/dnf/dnf.conf
index bc665d2..7eecb08 100644
--- a/etc/dnf/dnf.conf
+++ b/etc/dnf/dnf.conf
@@ -6,3 +6,4 @@ installonly_limit=3
clean_requirements_on_remove=True
best=False
skip_if_unavailable=True
+deltarpm=False
--
2.43.0

View File

@ -2,7 +2,7 @@
%define __cmake_in_source_build 1 %define __cmake_in_source_build 1
# default dependencies # default dependencies
%global hawkey_version 0.71.1 %global hawkey_version 0.73.0
%global libcomps_version 0.1.8 %global libcomps_version 0.1.8
%global libmodulemd_version 2.9.3 %global libmodulemd_version 2.9.3
%global rpm_version 4.14.0 %global rpm_version 4.14.0
@ -67,17 +67,13 @@
It supports RPMs, modules and comps groups & environments. It supports RPMs, modules and comps groups & environments.
Name: dnf Name: dnf
Version: 4.18.2 Version: 4.19.0
Release: 3%{?dist} Release: 1%{?dist}
Summary: %{pkg_summary} Summary: %{pkg_summary}
# For a breakdown of the licensing, see PACKAGE-LICENSING # For a breakdown of the licensing, see PACKAGE-LICENSING
License: GPL-2.0-or-later AND GPL-1.0-only License: GPL-2.0-or-later AND GPL-1.0-only
URL: https://github.com/rpm-software-management/dnf URL: https://github.com/rpm-software-management/dnf
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
# https://fedoraproject.org/wiki/Changes/Drop_Delta_RPMs
Patch: 0001-disable-deltarpm-support-in-default-configuration.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gettext BuildRequires: gettext
@ -138,7 +134,9 @@ BuildRequires: libmodulemd >= %{libmodulemd_version}
Requires: libmodulemd >= %{libmodulemd_version} Requires: libmodulemd >= %{libmodulemd_version}
Requires: %{name}-data = %{version}-%{release} Requires: %{name}-data = %{version}-%{release}
%if 0%{?fedora} %if 0%{?fedora}
%if 0%{?fedora} < 40
Recommends: deltarpm Recommends: deltarpm
%endif
# required for DNSSEC main.gpgkey_dns_verification https://dnf.readthedocs.io/en/latest/conf_ref.html # required for DNSSEC main.gpgkey_dns_verification https://dnf.readthedocs.io/en/latest/conf_ref.html
Recommends: python3-unbound Recommends: python3-unbound
%endif %endif
@ -387,6 +385,17 @@ popd
%{python3_sitelib}/%{name}/automatic/ %{python3_sitelib}/%{name}/automatic/
%changelog %changelog
* Thu Feb 08 2024 Jan Kolarik <jkolarik@redhat.com> - 4.19.0-1
- Update to 4.19.0
- filelists metadata loading on demand
- deltarpm disabled on Fedora by default
- conf: Introduce new optional_metadata_types option to load filelists on demand
- cli: Add a hint for user on transaction file dependency failure
- cli: Setup filelists metadata for commands that need them
- util: Add function for detecting file in specs
- Fix failing API unit test on rawhide (RhBug:2261066)
- automatic: Use add_security_filters, not _update_security_filters
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.2-3 * Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (dnf-4.18.2.tar.gz) = 728ebbef66d06e44401c280e4339f782d29f14e3704ebdbfdba4b5b1546f051c149c5252282e92c9233eb9dca13f1694c9c303491c67e6cb5d616c369b91f295 SHA512 (dnf-4.19.0.tar.gz) = cef69f0b02a3b12fc8f7acabc78eb9305c77d98e596e2634a64b9e00c7d4debfb6ffe58ec4abf497ead48f01f15dc32cdaa5db195074c8fc043fa5f3eec3abaf