Two binaries into two subpackages, but with same name

Ian Wienand <[email protected]> Thu, 17 Apr 2008 12:52:42 -0700
Newsgroups gmane.linux.redhat.rpm.general
Organization VMware
Message-ID <[email protected]>
Hi,

Is there some trick to make it possible to have a single spec file
take two binaries, say /sbin/app.static and /sbin/app.dynamic, and
then have these installed into two separate sub-packages as just
/sbin/app (obviously both sub-packages can't be installed together)?
Or is the only solution two separate spec files and a rebuild?

Thanks,

-i