From Fedora Project Wiki
Using %ghost
%files ... %ghost %{_bindir}/foo
Pros:
- allows globs and generated file lists
Cons:
- duplicates in %files are forbidden by FPG.
Using Provides:
Provides: %{_bindir}/foo
Pros:
- rpm -qf /usr/bin/foo works
- yum install /usr/bin/foo works
- repoquery --whatprovides /usr/bin/foo works
Cons:
- unwieldy with lots of alternativized files