Defines for detecting build OS?

Matthew Pounsett matt at
Tue Mar 3 17:20:23 UTC 2009

On 03-Mar-2009, at 12:05, devzero2000 wrote:

> There are macros defined by the "Build Service": CentoOS or Fedora  
> (or Debian) don't know it. But i think it is not a problem to put an
> %centos_version 501
> in your preferite rpm macros file (for example ~/.rpmmacros) .

Yep, that's fine for my stuff, but requires that we also maintain that  
definition on our build servers.  I was hoping to find something more  
portable though.

If nothing exists, so be it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Rpm-list mailing list