[Rpm-maint] [rpm-software-management/rpm] RFE: allow setting rpm variable, named with other variables (#960)

nim-nim notifications at github.com
Sun Dec 1 13:36:32 UTC 2019


I’d like to be able to declare rpm variables, with a name constructed from other rpm variables

```rpmspec
%global something%{suffix} value
```
Because I need to pass info from `%build` to `%install`, and `%build` may execute the same operation for multiple subpackages.

The current way to do that is to write things to a file in `%build` and read it in `%install`, but that is excessively cumbersome (cumbersome enough I’m now doing build operations in `%install` just to avoid this pain).

Please just relax the stupid assert that freaks out if it sees a variable in the new variable name.

-- 
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/960
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191201/8251ca7a/attachment.html>


More information about the Rpm-maint mailing list