[Rpm-maint] [rpm-software-management/rpm] Add %bcond macro for defining build conditionals (#1520)

Panu Matilainen notifications at github.com
Mon Jan 31 14:02:19 UTC 2022


Seems we all missed the update, sorry. 

@encukou , what's the case with the nested %{expand}? At least none of the included test-cases need it,  tests still pass when the outer expand is removed (just needs line-continuations now):

```
%bcond()        %[ (%2)\
    ? "%{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}"\
    : "%{expand:%%{?_with_%{1}:%%global with_%{1} 1}}"\
]
```


-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1520#issuecomment-1025768880
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/1520/c1025768880 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220131/de4c5961/attachment-0001.html>


More information about the Rpm-maint mailing list