[Rpm-maint] [rpm-software-management/rpm] Add %postbuild section / Allow dynamic sub packages (#1239)
Panu Matilainen
notifications at github.com
Mon May 25 10:37:57 UTC 2020
I like "generate spec" better than "post build", the latter only describes *when* it runs, the former actually gives some idea *what* it does.
I'd rather see this pushed to an external file entirely. That would
- drive the intended usage home with a sledgehammer
- make it easier to generate spec fragments from %build
- simplify the parsing as you don't need to try not to parse a thing when you're parsing that thing
- be just as easy for complicated macro ecosystems
External files could maybe presented as spec tags (instead of sections) resembling SOURCE, and thus allowing multiple files. Come to think of it, you'd actually want to ship the generated spec fragments in an src.rpm for reproducability / inspectability. So how about
SpecN: <file>
...where N > 0 because the spec itself is always 0. And these are then parsed after the build phase, post %install more like it.
--
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/pull/1239#issuecomment-633506742
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200525/c71e8072/attachment-0001.html>
More information about the Rpm-maint
mailing list