Would it make sense to change `%check` as the PR here does, and at the same 
time also add a `%check_buildroot` or something that's the equivalent of the 
current `%check` and runs after `%install`? This would make it possible to both 
have a check section that is  appropriate for `make check`, and also make it 
possible to check what gets installed.

Even that may be too invasive, or at least requires a provenpackager to drive 
the work and do mass changes in all of the spec files. For instance, we have 
packaging guidelines in Fedora that mandate the use of desktop-file-validate 
and appstream-util validate-relax to check the files that got installed in the 
buildroot, which affects pretty much all GUI apps. This certainly needs someone 
to go and mass update all of the affected spec files if %check ends up being 
changed.

-- 
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-814815875
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to