From bb421c22af921722cc3426f37cfccede25f3eef5 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Jun 27 2021 20:38:35 +0000 Subject: Make the centos-release virtual name version higher Some packages have versioned dependencies on centos-release, so make the version provided higher than everything else. --- diff --git a/SPECS/centos-stream-hyperscale-spin-release.spec b/SPECS/centos-stream-hyperscale-spin-release.spec index 12cc7c5..3540ed1 100644 --- a/SPECS/centos-stream-hyperscale-spin-release.spec +++ b/SPECS/centos-stream-hyperscale-spin-release.spec @@ -5,13 +5,15 @@ Name: centos-stream-hyperscale-spin-release Version: %{major} -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{distro} %{variant} release files License: GPLv2 URL: https://centos.org BuildArch: noarch -Provides: centos-release = %{version}-%{release} +# Make this higher than all other centos-release providers +# to make it compatible with centos-gpg-keys and other packages +Provides: centos-release = 8.12-1 # conflicts with vanilla centos-stream-release Conflicts: centos-stream-release @@ -150,6 +152,9 @@ install -p -m 0644 %{_sourcedir}/*.preset %{buildroot}%{_prefix}/lib/systemd/sys %changelog +* Sun Jun 27 2021 Neal Gompa - 8-3 +- Make the centos-release virtual name version higher + * Sun Jun 27 2021 Neal Gompa - 8-2 - Declare it as a replacement of centos-stream-release for comps