[Rpm-maint] [rpm-software-management/rpm] Parametric macro arguments are not expanded (#127)

Panu Matilainen notifications at github.com
Fri Aug 18 12:50:04 UTC 2017


Not really, the surrounding %{ ... } will end up in the macro body literally which is unlikely to be what you want. It's not a general block construct in the sense you'd find in eg C. Use the line-continuations instead, eg

```
%define sdkbindir()\
%{_jvmdir}/%{sdkdir %1}/bin\
%{_jvmdir}/%{sdkdir %1}/bin
```

-- 
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/127#issuecomment-323344835
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170818/5958274a/attachment-0001.html>


More information about the Rpm-maint mailing list