On Mon, Sep 18, 2006 at 11:29:50AM -0400, Robin Norwood wrote:
>
> However: what happens if the user was upgrading from older perls and
> still has some (presumably nonstandard) modules in these paths? Will
> the %post somehow move them to newer directories?
I'm not really sure how that would work - has this been done in the
past?
Not to my knowledge. It was just an idea.
It would be tricky in the first place to tell which ones are
'nonstandard' - I guess 'not owned by an rpm, and wouldn't be copied
over a file owned by an rpm' would be a good heuristic to start with.
Yes. By the time you have 5.8.8 perl rpm installed, all the rpm-based
modules should have been upgraded (via dependencies) from 5.8.[34].
That seems a little bit more magic than is healthy for a %post
script.
OTOH, I'd rather not break everyone's perl modules.
Sounds like a sane approach.
--
Jan Pazdziora
RHN Sustaining Engineering, Red Hat