diff --git a/0001-Revert-Block-signals-during-RPM-transaction-processi.patch b/0001-Revert-Block-signals-during-RPM-transaction-processi.patch new file mode 100644 index 0000000..f5eac57 --- /dev/null +++ b/0001-Revert-Block-signals-during-RPM-transaction-processi.patch @@ -0,0 +1,36 @@ +From d78d79f44be227a910ec8ecf811ff5898b14f653 Mon Sep 17 00:00:00 2001 +From: Jan Kolarik +Date: Wed, 20 Sep 2023 10:25:59 +0200 +Subject: [PATCH] Revert "Block signals during RPM transaction processing" + +--- + dnf/base.py | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/dnf/base.py b/dnf/base.py +index ff7c6fe7..7e97e212 100644 +--- a/dnf/base.py ++++ b/dnf/base.py +@@ -1028,9 +1028,6 @@ class Base(object): + for display_ in cb.displays: + display_.output = False + +- # block signals to disallow external interruptions of the transaction +- rpm.blockSignals(True) +- + self._plugins.run_pre_transaction() + + logger.info(_('Running transaction')) +@@ -1048,9 +1045,6 @@ class Base(object): + for msg in dnf.util._post_transaction_output(self, self.transaction, _pto_callback): + logger.debug(msg) + +- # unblock signals as we are done with the transaction +- rpm.blockSignals(False) +- + return tid + + def _trans_error_summary(self, errstring): +-- +2.41.0 + diff --git a/dnf.spec b/dnf.spec index d652ec2..38732dd 100644 --- a/dnf.spec +++ b/dnf.spec @@ -5,7 +5,7 @@ %global hawkey_version 0.71.0 %global libcomps_version 0.1.8 %global libmodulemd_version 2.9.3 -%global rpm_version 4.18.0 +%global rpm_version 4.14.0 # conflicts %global conflicts_dnf_plugins_core_version 4.0.26 @@ -68,12 +68,13 @@ It supports RPMs, modules and comps groups & environments. Name: dnf Version: 4.17.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{pkg_summary} # For a breakdown of the licensing, see PACKAGE-LICENSING 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 +Patch0: 0001-Revert-Block-signals-during-RPM-transaction-processi.patch BuildArch: noarch BuildRequires: cmake BuildRequires: gettext @@ -381,6 +382,9 @@ popd %{python3_sitelib}/%{name}/automatic/ %changelog +* Thu Sep 21 2023 Jan Kolarik - 4.17.0-2 +- Revert "Block signals during RPM transaction processing" (RhBug:2236997) + * Thu Sep 21 2023 Jan Kolarik - 4.17.0-1 - Update to 4.17.0 - crypto: Use libdnf crypto API instead of using GnuPG/GpgME