Disable deltarpm support in default configuration for Changes/Drop_Delta_RPMs

This commit is contained in:
Fabio Valentini 2024-01-20 22:30:55 +01:00
parent 74ea32cd9b
commit 1512e0803d
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,21 @@
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

@ -74,6 +74,10 @@ Summary: %{pkg_summary}
License: GPL-2.0-or-later AND GPL-1.0-only
URL: https://github.com/rpm-software-management/dnf
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
BuildRequires: cmake
BuildRequires: gettext