you can create an rpm with a pre-compiled binary, but you need a spec file
to do so.
The way it would work is something like this:
* the binaries you want would be SOURCEn's for the RPM.
* You will copy the rpm into %{buildroot}/path
* You have to specify the files in the %files section.
It's really helpful to read "maximum RPM" (google for it; it's *the* main
reference for how to make RPMs)
Don wrote:
> Hi,
>
> I would like build a rpm file from the pre-compiled binaries
> (to compress a.out and b.out into foo.rpm).
> I read the rpm man, but can not figure out how.
>
> Do I need a spec file or I can do it just via the command line?
>
> Thank you in advance,
> Don
--
Troy Telford