public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rocm-compilersupport] rawhide: Fixing obsoletes from 7.2.1 to newer upgrade.
@ 2026-11-09 19:49 Tim Flink
  0 siblings, 0 replies; only message in thread
From: Tim Flink @ 2026-11-09 19:49 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rocm-compilersupport
            Branch : rawhide
            Commit : d325e323e76faea0fcfd95ed282de2c0736f09a4
            Author : Tim Flink <Tim.Flink@amd.com>
            Date   : 2026-11-09T12:48:01-07:00
            Stats  : +9/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocm-compilersupport/c/d325e323e76faea0fcfd95ed282de2c0736f09a4?branch=rawhide

            Log:
            Fixing obsoletes from 7.2.1 to newer upgrade.

Addresses the issue from RHBZ#2530870 for upgrades to newer than F45

(cherry picked from commit ee1d6bd)

---
diff --git a/rocm-compilersupport.spec b/rocm-compilersupport.spec
index 9f5ebc8..bb20cb8 100644
--- a/rocm-compilersupport.spec
+++ b/rocm-compilersupport.spec
@@ -132,7 +132,7 @@ Version:        %{llvm_maj_ver}
 %if %{with preview}
 Release:        1000.rocm%{rocm_version}%{?dist}
 %else
-Release:        2.rocm%{rocm_version}%{?dist}
+Release:        3.rocm%{rocm_version}%{?dist}
 %endif
 
 Summary:        Various AMD ROCm LLVM related services
@@ -275,7 +275,11 @@ must ensure the compiler options are appropriate for the target compiler.
 %package -n %{rocm_llvm_name}-filesystem
 Summary: Filesystem package that owns the rocm llvm directory
 Requires: rocm-filesystem%{pkg_suffix}
-
+%if %{without libcxx}
+Obsoletes: %{rocm_libcxx_name} < %{version}-%{release}
+Obsoletes: %{rocm_libcxx_name}-devel < %{version}-%{release}
+Obsoletes: %{rocm_libcxx_name}-static < %{version}-%{release}
+%endif
 %description -n %{rocm_llvm_name}-filesystem
 This package owns the rocm llvm directory : %{bundle_prefix}
 
@@ -420,8 +424,6 @@ Requires:      %{rocm_libcxx_name}-devel%{?_isa} = %{version}-%{release}
 %description -n %{rocm_libcxx_name}-static
 %{summary}
 
-%else
-Obsoletes:      %{rocm_libcxx_name} <= %{version}-%{release}
 %endif
 
 %if %{with sa}
@@ -1137,6 +1139,9 @@ rm %{buildroot}%{bundle_prefix}/lib/libear/ear.c
 %{bundle_prefix}/lib/libomp*.so
 
 %changelog
+* Mon Nov 9 2026 Tim Flink <tflink@fedoraproject.org> - 24-3.rocm10.1.0
+- update obsoletes for rocm-libcxx so that upgrades go smoothly
+
 * Mon Oct 19 2026 Tom Rix <Tom.Rix@amd.com> - 24-2.rocm10.1.0
 - Simplify arches
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-09 19:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 19:49 [rpms/rocm-compilersupport] rawhide: Fixing obsoletes from 7.2.1 to newer upgrade Tim Flink

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox