[Rpm-maint] [rpm-software-management/rpm] add support for %{shrink:}, derived from rpm5.org (#234)

proyvind notifications at github.com
Sun Jun 11 06:34:42 UTC 2017

There's no %{trim:} nor %{strip:}.. ;)
But beyond just trimming/stripping, it shrinks it all the way down minimal size.
Where there's a common practice of ending macro defintions with '\n %{nil}', the parsed output of will become completely unfeasiable for use with scripts etc. that won't handle newline at at all kinds of unexpected places.

Ie. see [532a383a4bc19daee7ac96ce44947bfa12b0ad7c](https://github.com/rpm-software-management/rpm/pull/122/commits/532a383a4bc19daee7ac96ce44947bfa12b0ad7c), where without being able to shrink down the expanded macros, there would've been several newlines in place breaking use of parallel.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170610/144f4c72/attachment-0001.html>

More information about the Rpm-maint mailing list