Detecting binaries in rpmbuild

Jos Vos jos at xos.nl
Tue Nov 4 10:48:56 UTC 2008


On Tue, Nov 04, 2008 at 10:42:32AM +0000, Andrew Haley wrote:

> Hold on, how do you know that something is a "binary" ?  What if, for
> example, it's an image bitmap?  In the general case it's not possible
> to tell if something is source or binary.

Well, you could run "file" on it to see if it can recognize it as an
object file.  But, like some of the other commentors, I see (too?)
many caveats showing up when actually implementing this idea.

-- 
--    Jos Vos <jos at xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204




More information about the devel mailing list