On Wednesday, June 04, 2014 5:21 PM, Phil Wyett write:
A useful tool indeed. By a quick look at the script it searches all files within an SRPM. Should this tool now not be tweaked to ignore/exclude files with historical data that should never be removed that would certainly flag up in a search i.e. '.spec. files? Feature request. :-)
Actually, it does an 'rpm -i' on the srpm and then searches the SOURCES folder (this is all done in a separate rpmbuild/_topdir folder per SRPM). Because the .spec file is saved in the SPECS folder, the tool doesn't search it.
But, there may be other reliable heuristics for files that should be ignored. Perhaps any patch files (i.e. files with the mime type 'text/x-diff') at the root of the SOURCES folder? Other candidates?
Kay