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

Florian Festi notifications at github.com
Wed Apr 7 13:27:53 UTC 2021


I wonder if moving %check to a later time instead of running it earlier does the trick. If we first package the files and run %check afterwards it cannot influence the package contents but still has access to the buildroot.
Yes, this comes at the price of failing the build after doing all of the work and even have the - now deemed broken - packages on disk already. Otoh failing %check should be rare and requires most of the expensive parts of the build process anyway.

-- 
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-814914005
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210407/0541309d/attachment.html>


More information about the Rpm-maint mailing list