Michael Schroeder
Michael Schroeder
Yeah, that's also what I was going to implement. The userid seems to be optional.
Fixed with https://github.com/rpm-software-management/rpmpgp_legacy/commit/31c2f3d017372ee11b6c7403f13889736757c046
FYI: obs-sign now uses the reserved space. See commit https://github.com/openSUSE/obs-sign/commit/07b30f65ec0185e915b906f4a5cab4f317edc91b
Yes, I already saw that when I looked at rpm git master to find out the exact implementation of this in rpm. But thanks for the pointer.
Regarding doing the copies at install time: The nice thing about having them as normal files in the header is that we get automatic de-dup and refcounting. I.e. we can...
It's kinda sad that this strips the leading spaces: ``` rpm -E "%{lua:macros.define({'foo', ' 1 '})}" -E "x%{foo}x" >1 < ```
With the new ME_QUOTED support added end of last year we could make this work correctly. So the question is if we want `%-x**` or not.
I don't think %-x** should repeat the option name, though. It should just be the arguments, i.e. just like %-x* but with multiple values.
Historically it has always been just the last occurrence, so I don't think we can change this. Regarding the array of values part: we now can deal properly with it...
(We might be able to change the behavior of %-f so that it includes all occurrences, but even that makes me a bit uneasy.)