[Rpm-maint] [rpm-software-management/rpm] Introduce convenient %gsub macro to wrap Lua's string.gsub() (#1764)
Michael Schroeder
notifications at github.com
Fri Jul 8 12:01:57 UTC 2022
Note that this works with the current rpm code:
```
%global short_version %[lua:string.gsub("%upstream_version","-.*","")]
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1764#issuecomment-1178908644
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/1764/c1178908644 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220708/6817a370/attachment.html>
More information about the Rpm-maint
mailing list