[Rpm-maint] [rpm-software-management/rpm] Reject %pretrans scripts that are not lua (#714)
Jason Tibbitts
notifications at github.com
Thu Jul 11 21:35:57 UTC 2019
This would probably be better as an rpmlint check, except then it might be ignored.
Certainly from RPM's perspective, having a %pretrans scriptlet written in shell or anything else is perfectly valid. Only a distro like Fedora which cares about every package being installable into an empty filesystem would want to reject it, and it would still be OK for someone building their own packages. So even if an option/flag/magic macro existed, Fedora would have to think twice about setting it by default (though I think in the end we would want to do so, even if it means anyone building custom packages that doesn't care would have to turn it off manually).
Is there any part of the rpm-build process where a distro could hook in basic checks on scriptlets? Would it be reasonable to have one?
--
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/714#issuecomment-510663072
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190711/aa5d5c96/attachment.html>
More information about the Rpm-maint
mailing list