[Rpm-maint] [rpm-software-management/rpm] Clarify %check script use-case by executing it before %install (#1618)

torsava notifications at github.com
Wed Apr 7 09:51:47 UTC 2021


This will seriously complicate my life as a maintainer. There are many good use cases for doing %check on the content of %install.

Your suggestion is to do a fake install in %build and check that, but that 1. won't test the actually installed stuff, 2. make me copy a possibly lots of code (not all %install sections are just %make_install!!!) and keep it with only slight changes in two places. That will be a spec file from hell.

Please don't do this.

-- 
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/1618#issuecomment-814777750
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210407/f5578f55/attachment.html>


More information about the Rpm-maint mailing list