public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/nodejs22] f45: Add better obsoletes for system-upgrade
Date: Mon, 30 Nov 2026 10:36:37 GMT	[thread overview]
Message-ID: <179603499751.1.17667578039328732185.rpms-nodejs22-f192573f231a@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/nodejs22
            Branch : f45
            Commit : f192573f231a9e5b63e3bc00b7dba48255bc79fc
            Author : Jan Staněk <jstanek@redhat.com>
            Date   : 2026-11-30T11:36:23+01:00
            Stats  : +5/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/nodejs22/c/f192573f231a9e5b63e3bc00b7dba48255bc79fc?branch=f45

            Log:
            Add better obsoletes for system-upgrade

Resolves: rhbz#2584308

---
diff --git a/nodejs22.spec b/nodejs22.spec
index 02de06b..6729134 100644
--- a/nodejs22.spec
+++ b/nodejs22.spec
@@ -79,6 +79,9 @@
 # Obsolete un-versioned default stream RPMs; can be removed when F43 is EOL
 %define obsolete_default_stream_rpm() %{expand:\
 Obsoletes: nodejs%{?1:-%{1}} < %{?2}%{!?2:1:22.22.0-4%{?dist}}
+# Specifically obsolete anything from F43, where the renaming did not happen
+# This should keep upgrade path clean
+Obsoletes: nodejs%{?1:-%{1}} < %{?2}%{!?2:%{node_epoch}:%{node_version}-%(echo %{node_release}|sed -E 's/fc[0-9]+/fc43/')}
 Provides:  nodejs%{?1:-%{1}} = %{?2}%{!?2:%{node_evr}}
 }
 
@@ -271,6 +274,8 @@ Requires:       %{_bindir}/npm
 Recommends:     %{name}-npm-bin >= %{npm_evr}
 
 Obsoletes:      nodejs-npm < 1:10.9.4-1.22.22.0.4%{?dist}
+# For clean upgrade path from F43
+Obsoletes:      nodejs-npm < %{npm_epoch}:%{npm_version}-%(echo %{npm_release}|sed -E 's/fc[0-9]+/fc43/')
 Provides:       nodejs-npm = %{npm_evr}
 
 %description    npm

                 reply	other threads:[~2026-11-30 10:36 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=179603499751.1.17667578039328732185.rpms-nodejs22-f192573f231a@fedoraproject.org \
    --to=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