[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: %ifos



On Tue, Nov 14, 2006 at 02:12:58PM -0800, Kevin Cosgrove wrote:

> In the prep, build, install sections of the spec file "%ifos
> Linux" works fine.  But, "%ifos solaris2.8" doesn't work at
> all.  If I use "%ifos solaris2.8" in the definitions section,
> i.e. outside prep etc, I can confirm that the os is indeed known
> to rpm as solaris2.8 by defining something else, e.g. "%define
> myaction echo os is solaris2.8".
> 
> Why would %ifos work for Linux but not other solaris2.8?  How
> could I get it to work for solaris2.8?

Try "rpm --showrc | grep ' os'" and see what os it shows for your
Solaris build system.

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]