From 9dd82ecf6eec787f61517e9a8e6ac4503ffad694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20B=C3=A9rat?= Date: Thu, 18 Apr 2024 13:58:26 +0200 Subject: [PATCH] Make autoconf a provider for autoconf-latest When upgrading from rehl 9 to rhel 10, there may not be an autoconf-latest package available. We therefore make the autoconf package a provider for autoconf-latest and the versioned autoconf package. That way, if autoconf-latest was installed but isn't available in the next release, autoconf gets installed instead, until a dedicated version of autoconf-latest gets provided. This solution isn't ideal as autoconf-latest is installed on an alternative path, but it covers the case when the user as set its PATH to add /opt/rhel/autoconfNNN. Resolves: RHEL-33538 --- autoconf.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/autoconf.spec b/autoconf.spec index 49266ee..be1870f 100644 --- a/autoconf.spec +++ b/autoconf.spec @@ -10,7 +10,7 @@ # `/opt/{namespace}/{versioned name}`. Name: autoconf Version: 2.71 -Release: 12%{?dist} +Release: 13%{?dist} # To help future rebase, the following licenses were seen in the following files/folders: # '*' is anything that was not explicitly listed earlier in the folder @@ -78,6 +78,8 @@ Summary: Meta package to include latest version of autoconf %bcond_without autoconf_enables_emacs %global autoconf %{name} Summary: A GNU tool for automatically configuring source code +Provides: autoconf-latest = %{version}-%{release} +Provides: %(echo autoconf%{version} | tr -d .) = %{version}-%{release} %endif BuildArch: noarch @@ -215,6 +217,9 @@ install -p -m 755 enable.scl ${RPM_BUILD_ROOT}/%{_prefix}/enable %changelog +* Fri Mar 14 2025 Frederic Berat - 2.71-13 +- Ensure that we can transition from autoconf-latest to autoconf (RHEL-33538) + * Tue Oct 29 2024 Troy Dawson - 2.71-12 - Bump release for October 2024 mass rebuild: Resolves: RHEL-64018