Dne 25. 04. 22 v 10:41 Vít Ondruch napsal(a):
We already have signature of source files as additional source.
Do you mean the 'sources' file?
1) This is dist-git feature, external to RPM, which is quite unfortunate.
2) There are certainly requests to include this into .spec file:
https://github.com/rpm-software-management/rpm/issues/463
But the additional section as suggested by Marián works for me too.
I just want to take the script and paste it somewhere without worrying about escaping or
wrapping.
But the point is that you don't have to copy paste this, because RPM executes the
scriptlet for you.
Actually, I just lerned about `%_disable_source_fetch` flag, this could be reused for this
fucntionality.
Vít