How move a package to use alternatives
Stephen Warren
s-t-rhbugzilla at wwwdotorg.org
Sun Mar 30 17:05:44 UTC 2008
Ville Skyttä wrote:
> On Thursday 27 March 2008, Orion Poplawski wrote:
>
>> /usr/bin/qsub exists and is owned by torque-1
>> torque-2 files are installed (/usr/bin/qsub not owned by torque-2)
>> torque-2 %post runs alternatives (installing /usr/bin/qsub symlink - or
>> perhaps not because /usr/bin/qsub exists)
>> torque-1 cleanup removes /usr/bin/qsub
>>
>> How can we get around this?
>
> %posttrans instead of %post in torque-2?
I haven't read the rest of this thread, but the
unison->unison213/unison227 move did it using posttrans. See the
checked-in .spec files.
Watch out that EL-4 doesn't appear to support posttrans, but F-7, F-8,
devel, EL-5 do.
More information about the fedora-devel-list
mailing list