public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/nodejs22] f44: Add better obsoletes for system-upgrade
Date: Mon, 30 Nov 2026 10:37:06 GMT [thread overview]
Message-ID: <179603502660.1.9049416209976638843.rpms-nodejs22-d9b74c888cf3@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/nodejs22
Branch : f44
Commit : d9b74c888cf3d5ebaf2e3bded4ba52f0482a42ff
Author : Jan Staněk <jstanek@redhat.com>
Date : 2026-11-30T11:36:49+01:00
Stats : +5/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/nodejs22/c/d9b74c888cf3d5ebaf2e3bded4ba52f0482a42ff?branch=f44
Log:
Add better obsoletes for system-upgrade
Resolves: rhbz#2584308
---
diff --git a/nodejs22.spec b/nodejs22.spec
index 68188ee..ca8ba78 100644
--- a/nodejs22.spec
+++ b/nodejs22.spec
@@ -77,6 +77,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}}
}
@@ -266,6 +269,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:37 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=179603502660.1.9049416209976638843.rpms-nodejs22-d9b74c888cf3@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