public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/redhat-rpm-config] rawhide: Obsolete multilib-rpm-config on RHEL
Date: Tue, 24 Nov 2026 17:58:05 GMT [thread overview]
Message-ID: <179554308561.1.11863618000070334473.rpms-redhat-rpm-config-583fbdf4f9fc@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/redhat-rpm-config
Branch : rawhide
Commit : 583fbdf4f9fcec891aca1ef38019b7cffef27a72
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-11-24T17:57:42+00:00
Stats : +18/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/redhat-rpm-config/c/583fbdf4f9fcec891aca1ef38019b7cffef27a72?branch=rawhide
Log:
Obsolete multilib-rpm-config on RHEL
As of RHEL 10 no multilib arches are supported, so multilib-rpm-config
serves no practical purpose. This avoids having to choose between carrying
a useless package or conditionalizing every multilib-aware package.
https://github.com/fedora-eln/eln/issues/525
---
diff --git a/macros.ml b/macros.ml
new file mode 100644
index 0000000..957229a
--- /dev/null
+++ b/macros.ml
@@ -0,0 +1,4 @@
+# This is for RHEL only, which no longer supports multilib arches
+# Fedora uses the multilib-rpm-config package because of ix86/x86_64
+%multilib_fix_c_header :
+%multilib_capable false
diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec
index ded055f..a2c2b2e 100644
--- a/redhat-rpm-config.spec
+++ b/redhat-rpm-config.spec
@@ -53,6 +53,7 @@ Source155: macros.ldconfig
Source156: macros.vpath
Source157: macros.shell-completions
Source158: macros.rpmautospec
+Source159: macros.ml
# Build policy scripts
# this comes from https://github.com/rpm-software-management/rpm/pull/344
@@ -147,6 +148,12 @@ Conflicts: gcc < 8.0.1-0.22
# Replaced by macros.rpmautospec shipped by us
Obsoletes: rpmautospec-rpm-macros < 0.6.3-2
+# RHEL 10 has no multilib architectures, but Fedora does
+%if 0%{?rhel}
+Obsoletes: multilib-rpm-config < 2
+Provides: multilib-rpm-config = 1
+%endif
+
Provides: system-rpm-config = %{version}-%{release}
%global rrcdir /usr/lib/rpm/redhat
@@ -163,6 +170,10 @@ Red Hat specific rpm configuration files.
# of source numbers in install section
%setup -c -T
cp -p %{sources} .
+%if ! 0%{?rhel}
+rm macros.ml
+%endif
+
%install
mkdir -p %{buildroot}%{rrcdir}
@@ -248,6 +259,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora common.lua
%{_rpmconfigdir}/macros.d/macros.dwz
%{_rpmconfigdir}/macros.d/macros.fedora-misc
%{_rpmconfigdir}/macros.d/macros.ldconfig
+%if 0%{?rhel}
+%{_rpmconfigdir}/macros.d/macros.ml
+%endif
%{_rpmconfigdir}/macros.d/macros.rpmautospec
%{_rpmconfigdir}/macros.d/macros.shell-completions
%{_rpmconfigdir}/macros.d/macros.vpath
reply other threads:[~2026-11-24 17:58 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=179554308561.1.11863618000070334473.rpms-redhat-rpm-config-583fbdf4f9fc@fedoraproject.org \
--to=yselkowi@redhat.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