Java Mailing List Archive

http://www.redhatconfig.com/

Home » Mandriva Cooker »

Re: [Cooker] Re: [RPM] cooker main/release glibc-2.8-1.20080520.3mnb2

Pixel

2008-06-06

Replies: Find Java Web Hosting

Author LoginPost Reply
Guillaume Rousse <Guillaume.Rousse@(protected):

> Herton Ronaldo Krzesinski a écrit :
>> Pixel <pixel@(protected):
>> + Revision: 215279
>> - add rpm filetrigger running "ldconfig -X" when rpm install/remove libraries
>> - drop patch5 since ldconfig is now nicely handled using rpm filetrigger
>
> Does it means we can now remove ldconfig invocation from library packages ?

well, more precisely, we must remove it, otherwise it will now be done
twice.

the only ldconfig calls that must be kept are the one for libraries
(wrongly) using ld.so.conf.d (ie using ldconfig cache to do something
more than a cache should do)

> Or, probably better, call an rpm macro that would do nothing starting from
> 2009.0, and invoke ldconfig before ?

hum, i was thinking removing them altogether would be enough.

we would really need to have a list of packages needing to be
backportable...

now, how can a macro handle things like:

----
%post X11
%{update_menus}
%{update_desktop_database}
----

maybe we can simply wrap things with:

%if %{mdkversion} < 200900
...
%endif

> And the same apply to other situation too, for which we already have rpm
> macro:
> - updating menus

this one is done. update-menus calls should go.
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.