[olug] rpm "Build Host"
Vincent
vraffensberger at home.com
Sat Jan 12 22:25:31 UTC 2002
I think I found it. After exporting the new name to $HOSTNAME it worked. I didn't do much testing though to see if I
also had to change it with 'hostname' as well.
Thanks.
----- Original Message -----
From: "Brian Roberson" <roberson at bstc.net>
To: <olug at bstc.net>
Sent: Saturday, January 12, 2002 2:56 PM
Subject: Re: [olug] rpm "Build Host"
> I do beleive it is `uname -n`
>
>
>
> ----- Original Message -----
> From: "Vincent" <vraffensberger at home.com>
> To: <olug at bstc.net>
> Sent: Thursday, January 10, 2002 8:37 PM
> Subject: [olug] rpm "Build Host"
>
>
> > Does any one happen to know how rpm obtains the "Build Host" information
> when you create an rpm?
> > You can see this info by doing this: rpm -qp --info your.rpm
> > I would have thought it used `hostname` somehow, but that dosen't seem to
> be the case.
> > I changed my hostname before building and my old hostname still shows up.
> > It seems like you should be able to set that value in the spec file.
> > I've searched a lot and haven't found an answer.
> > Yeah, I could go through testing with config files, /etc/hosts, DNS,
> etc... But I hoped someone would know offhand.
> >
> > Thanks.
> >
> >
> > -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> >
> > For help contact olug-help at bstc.net - run by ezmlm
> > to unsubscribe, send mail to olug-unsubscribe at bstc.net
> > or `mail olug-unsubscribe at bstc.net < /dev/null`
> > (c)2001 OLUG http://www.olug.org
> >
> > -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> >
> >
>
>
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
>
> For help contact olug-help at bstc.net - run by ezmlm
> to unsubscribe, send mail to olug-unsubscribe at bstc.net
> or `mail olug-unsubscribe at bstc.net < /dev/null`
> (c)2001 OLUG http://www.olug.org
>
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
>
>
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
For help contact olug-help at bstc.net - run by ezmlm
to unsubscribe, send mail to olug-unsubscribe at bstc.net
or `mail olug-unsubscribe at bstc.net < /dev/null`
(c)2001 OLUG http://www.olug.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
More information about the OLUG
mailing list