public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tim Flink <Tim.Flink@amd.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rocm-compilersupport] rawhide: Fixing obsoletes from 7.2.1 to newer upgrade.
Date: Mon, 09 Nov 2026 19:49:22 GMT	[thread overview]
Message-ID: <179425376205.1.10098967725241377036.rpms-rocm-compilersupport-d325e323e76f@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-11-09 19:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179425376205.1.10098967725241377036.rpms-rocm-compilersupport-d325e323e76f@fedoraproject.org \
    --to=tim.flink@amd.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox