[Rpm-maint] [rpm-software-management/rpm] RFE: %ifarch expression (Issue #3165)
Zbigniew Jędrzejewski-Szmek
notifications at github.com
Thu Jun 13 12:42:51 UTC 2024
As discussed during the RPM Developers' Meetup during DevConf.cz:
please allow %ifarch to be used inline, i.e. make it an expression or provide an a new syntax for an expression.
The problem is that %ifarch is very verbose and requires at least 3 lines. It'd be nice to replace this by an inline expression for brevity and readability.
For example
```
%pytest \
%ifarch s390x
|| :
%endif
```
could be replaced by:
```
%pytest %{ifarch s390x: || :}
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3165
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3165 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240613/34b85b20/attachment.html>
More information about the Rpm-maint
mailing list