From d3d3e5f76c23fccfc2619b6602ff207fde140217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 5 Jan 2024 15:16:40 +0100 Subject: [PATCH] Bump the minimal alternatives version Related: rhbz#2203820 --- python3.11.spec | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/python3.11.spec b/python3.11.spec index 5a92fc6..1d41804 100644 --- a/python3.11.spec +++ b/python3.11.spec @@ -389,10 +389,10 @@ Patch397: 00397-tarfile-filter.patch # Descriptions, and metadata for subpackages # ========================================== -# Require alternatives version that implements the --keep-foreign flag -Requires: alternatives >= 1.19.1-1 -Requires(post): alternatives >= 1.19.1-1 -Requires(postun): alternatives >= 1.19.1-1 +# Require alternatives version that implements the --keep-foreign flag and fixes rhbz#2203820 +Requires: alternatives >= 1.19.2-1 +Requires(post): alternatives >= 1.19.2-1 +Requires(postun): alternatives >= 1.19.2-1 # When the user tries to `yum install python`, yum will list this package among # the possible alternatives @@ -540,8 +540,8 @@ Requires: %{pkgname}-libs%{?_isa} = %{version}-%{release} Requires: (python-rpm-macros if rpm-build) Requires: (python3-rpm-macros if rpm-build) -# Require alternatives version that implements the --keep-foreign flag -Requires(postun): alternatives >= 1.19.1-1 +# Require alternatives version that implements the --keep-foreign flag and fixes rhbz#2203820 +Requires(postun): alternatives >= 1.19.2-1 # python3.11 installs the alternatives master symlink to which we attach a slave Requires(post): %{pkgname} @@ -594,8 +594,8 @@ Provides: idle = %{version}-%{release} Provides: %{pkgname}-tools = %{version}-%{release} Provides: %{pkgname}-tools%{?_isa} = %{version}-%{release} -# Require alternatives version that implements the --keep-foreign flag -Requires(postun): alternatives >= 1.19.1-1 +# Require alternatives version that implements the --keep-foreign flag and fixes rhbz#2203820 +Requires(postun): alternatives >= 1.19.2-1 # python3.11 installs the alternatives master symlink to which we attach a slave Requires(post): %{pkgname} @@ -660,8 +660,8 @@ Requires: %{pkgname}-idle%{?_isa} = %{version}-%{release} %unversioned_obsoletes_of_python3_X_if_main debug -# Require alternatives version that implements the --keep-foreign flag -Requires(postun): alternatives >= 1.19.1-1 +# Require alternatives version that implements the --keep-foreign flag and fixes rhbz#2203820 +Requires(postun): alternatives >= 1.19.2-1 # python3.11 installs the alternatives master symlink to which we attach a slave Requires(post): %{pkgname}