rpms/ettercap/devel ettercap.spec,1.4,1.5

Michael Schwendt mschwendt.tmp0701.nospam at arcor.de
Wed Mar 28 17:59:28 UTC 2007


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 ...).




More information about the fedora-devel-list mailing list