Обсуждение: Re: RPMS problems w/ RH 7.3

Поиск
Список
Период
Сортировка

Re: RPMS problems w/ RH 7.3

От
Adam H.Pendleton
Дата:
On Tuesday, Sep 30, 2003, at 03:54 US/Eastern, Jean-Michel POURE wrote:

> Le Mardi 30 Septembre 2003 09:35, Dave Page a écrit :
>> Just as I applied it I read this bit! How easy would it be to detect
>> rh73 and only add the relevant options where appropriate?
>
> You can detect a RedHat 7.3 host by running "rpm -q redhat-release",
> but it is
> not very clean. The best is to leave the user the choice to rebuild
> the SRPM
> using a flag.
>

Actually, there is a semi-clean way inside a SPEC file to apply a patch
only when being built on a particular architecture.  I'll send the
relevant bits to the list later this morning (morning for me, that is!).

ahp

P.S. -- My mistake; I am CCing the list.  :-(
Вложения