[Rpm-maint] [rpm-software-management/rpm] RFE: %ifarch expression (Issue #3165)
Michael Schroeder
notifications at github.com
Fri Jun 14 12:30:41 UTC 2024
Using a bit of lua:
```
%contains() %{lua:
for i, n in ipairs(arg) do
if i > 1 and arg[1] == arg[i] then
return 1
end
end
return 0
}
%isarch() %{contains %{quote:%_target_cpu} %*}
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3165#issuecomment-2167929170
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3165/2167929170 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240614/4d11a89d/attachment.html>
More information about the Rpm-maint
mailing list