Dne 26. 03. 19 v 18:38 Tomasz Kłoczko napsal(a):
If yes I can propose simpler solution like create
.post_build_preserve.lst file in source build root and whatever will
be added to that file should be archived in some
<package>-<version>-<release>.tar.xz file to be accessible over koji
web interface.
If such file will be created during manually executed "rpmbuild -ba" it will
not leave any garbage behind or will be no
flooding stdout during build.
In fact, this can be quite easy, because we already have:
https://github.com/rpm-software-management/mock/wiki/Plugin-ChrootScan
I will be happy to review and merge enhancement to this plugin, which read or add to the
regexes from a file.
Miroslav