<p></p>
<p>So would be macro like this acceptable for upstream RPM?</p>
<pre><code># %%Requires - Require library with right bitness.
#
# Usage: %%Requires [options] <library>
#
# There is no way to know the installation architecture of noarch package 
# during buildtime. Therefore this macro allows to require the specified
# <library> with the right bitness of the target platform. By default,
# the bitness is derived from glic.
#
# -r <reference_library>   Reference library used to determine bitness.
#
%global Requires(r:) \
%%{?2:%%{error:%%%%Requires macro requires one argument}} \
Requires: (%%{1}()(64bit) if %%{!?-r:libc.so.6}%%{-r*}()(64bit)) \
Requires: (%%{1} if %%{!?-r:libc.so.6}%%{-r*}) \
%{nil}
</code></pre>
<p>Or should I propose it for Fedora?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/issues/1344#issuecomment-692140353">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU7YLLDQROS2NL3HIDDSFY2KJANCNFSM4QLZQR7Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZUYZGPPMP4JDNHMATI3SFY2KJA5CNFSM4QLZQR72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFFATSQI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/issues/1344#issuecomment-692140353",
"url": "https://github.com/rpm-software-management/rpm/issues/1344#issuecomment-692140353",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>