Dne 17. 04. 24 v 9:20 dop. Zbigniew Jędrzejewski-Szmek napsal(a):
By adding this functionality to Mock itself. It can be optional (--add-determinism). And then Mock can call
add-determinism $chroot/%buildroot/
I don't think we should make this particular functionality special. We have a bunch of brps:
It depends... if you want to have this check/sanitization part of rpmbuild. When it is small,and does not inflate buildroot, then fine.
Over the years, I learn that people have different view where each component should go. :) I will not argue.
If you package add-determinism I can help you to add it to Mock. Likely as plugin:
https://rpm-software-management.github.io/mock/#plugins
that is called in `postbuild`
https://rpm-software-management.github.io/mock/Plugin-Hooks
And by helping I mean that I will create the initial PR and you (and others) will test the functionality. Deal?