From 1512e0803d3507ecf1a2a1992fdf41ed53bd9ea0 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 20 Jan 2024 22:30:55 +0100 Subject: [PATCH] Disable deltarpm support in default configuration for Changes/Drop_Delta_RPMs --- ...rpm-support-in-default-configuration.patch | 21 +++++++++++++++++++ dnf.spec | 4 ++++ 2 files changed, 25 insertions(+) create mode 100644 0001-disable-deltarpm-support-in-default-configuration.patch diff --git a/0001-disable-deltarpm-support-in-default-configuration.patch b/0001-disable-deltarpm-support-in-default-configuration.patch new file mode 100644 index 0000000..00389d6 --- /dev/null +++ b/0001-disable-deltarpm-support-in-default-configuration.patch @@ -0,0 +1,21 @@ +From 910f913185545841bbcf66e695c91532eb2535dc Mon Sep 17 00:00:00 2001 +From: Fabio Valentini +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 + diff --git a/dnf.spec b/dnf.spec index 82ab5ed..a743e35 100644 --- a/dnf.spec +++ b/dnf.spec @@ -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