Since you are deviating the compile options you'll also probably want to set
yum to exclude the package and manually update it when you've re-compiled
and released later on.

On Thu, Sep 15, 2011 at 07:24, John Haxby <john.ha...@gmail.com> wrote:

>
>
> On 15 September 2011 12:52, Kazuyuki Okamoto <kazuy...@okamoto.name>wrote:
>
>> Hi, Erling
>>
>> Try erase and install
>> rpm -e --nodeps  openssl0.9.8e20.el5_x86_64 openssl0.9.8e20.el5_i686
>>
>> rpm -Ivh openssl-0.9.8e-20.x86_64.rpm
>>
>>
>>
>  I usually do
>
>    rpm -Uvh --replacepkgs ...
>
> Note "-U" instead of "-i".   Sometimes, I've no idea why, I need
> "--replacefiles" as well :-)
>
> However, in this case your problem is that you built "openssl-0.9.8e-20"
> but what is installed is "openssl-0.9.8e-20.el5" and the error correctly
> shows that you're trying to install something older.
>
> I'd do three things:  add an entry to the changelog in the spec file to
> show your change; change the Release: from "20{?dist}" to "20.1{?dist}"  and
> build as
>
>     rpmbuild -ba --define 'dist.el5' openssl.spec
>
> (I'm assuming that's what the Release: says, it'll be something like that
> though.)
>
> That will build openssl-0.9.8e-20.1.el5 and you'll be able to just do an
> rpm -Uvh.   The install may still fail: I don't remember if you have, say,
> openssl-devel then you'll need to install that as well.
>
> jch
>
>
> _______________________________________________
> rhelv5-list mailing list
> rhelv5-list@redhat.com
> https://www.redhat.com/mailman/listinfo/rhelv5-list
>
>
_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to