[Rpm-maint] [rpm-software-management/rpm] RFE: add support for `else if` operator (#311)

Igor Gnatenko notifications at github.com
Thu Aug 24 06:08:20 UTC 2017


having things like

```rpmspec
%if 0%{?fedora} == 26
...
%else
%if 0%{?fedora} > 26
...
%else
%if 0%{?rhel}
...
%endif
%endif
%endif
```

does the job, but completely unreadable. I don't think it would be hard to implement `%else if` or `%elif`, but would be very useful.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/311
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170824/479070e7/attachment.html>


More information about the Rpm-maint mailing list