On Wed, 28 Mar 2007 12:46:09 -0500 (CDT), Jon Ciesla wrote:
If I add it to %files, when I build, it fails, as /usr/bin/ettercap
does
not exist. Is there a workaround?
> After installing ettercap, nothing owns /usr/bin/ettercap, due to it
> getting created by alternatives in the %post.
"touch" it in %install, include it in %files marked as %ghost,
%files
...
%ghost %{_bindir}/ettercap
then display the files in your test-build (rpm --query --list ...).