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

Re: [rpm-list] %ifos



On 17 November 2006 at 10:38, Kevin Cosgrove <kevinc doink com> wrote:

> On 16 November 2006 at 13:30, "Jeff Johnson" <n3npq jbj gmail com> wrote:
> 
> > > %build
> > > [some stuff]
> > > %ifos solaris2.8
> > >   %{_bindir}/egd.pl --kill checks/entropy
> > > %endif
> > 
> > The issue "relates" to what you are doing because
> > 
> > 1) the "OS" is set by /etc/rpm/platform, otherwise uname(2) and a
> > string transorm

I set my platform to "sparc-sun-solaris2.8" in 
~/.SunOS/5.8/sun4u/etc/rpm/platform because my Solaris version of rpm 
resides in ~/.SunOS/5.8/sun4u/... as I am not an admin on the machine.
I patched and rebuilt rpm to redefine the hard-coded /etc/rpm/platform
and now my %ifos stuff works in %build, %files, etc.

Thanks for the /etc/rpm/platform tip!

--
Kevin



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