This commit introduces a bug. It will not work for packages that have multiple provides or extra whitespace around the provides name as that will produce a bogus regex for grep.
You can just add any such package or provide names twice at the beginning of the echo invocation, as any package that appears more than once in the resulting output is not recorded as a dependency. I've fixed this in my private cygport branch together with introducing a general facility to suppress spurious package dependencies: https://repo.or.cz/cygport/rpm-style.git/patch/4c0e2e3f980102dc280e0dd4ce5169978c9c4525 Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds