[Rpm-maint] [rpm-software-management/rpm] %{**} loses whitespace (#1439)

Michal Domonkos notifications at github.com
Mon Mar 1 15:38:46 UTC 2021


What you're looking for is the `%{quote:...}` macro, documented [here](https://rpm.org/user_doc/macros.html).

Example without the quote macro:
```
$ rpm --define 'hello() %{**}' --eval "%hello 1     2"
1 2
```
And with the macro:
```
$ rpm --define 'hello() %{**}' --eval "%hello 1 %{quote:     2}"
1      2
```

Hope that helps! I'm closing the issue now, please reopen if that's not what you meant. Thanks!

-- 
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/1439#issuecomment-788042887
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210301/90ac5a67/attachment.html>


More information about the Rpm-maint mailing list