Re: broken VIM update on FC3??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 8:14 AM +0100 8/12/05, Paul Howarth wrote:
>On Thu, 2005-08-11 at 17:29 -0400, Tony Nelson wrote:
 ...
>>But why was [vimrc.rpmnew] created anyway? I'd have thought that there
>>would be at least minimal merge logic which would not make .rpmnew files
>>when the file would be identical with the original.
>
>My understanding of the logic for configuration files in package updates
>is:
>
>if old-rpm-config-file is identical to new-rpm-config-file
>then
>	leave the installed-config-file unchanged
>elsif installed-config-file is identical to old-rpm-config-file
>then
>	install new-rpm-config-file
>elsif config file marked (noreplace) in rpm package
>then
>	install new-rpm-config-file as new-rpm-config-file.rpmnew
>else
>	rename installed-config-file installed-config-file.rpmsave
>	install new-rpm-config-file
>endif
>
>Given that vimrc has not changed over many releases, one might expect
>that vimrc.rpmnew files shouldn't get created, but they always do. I
>believe that the reason for this is that /etc/vimrc is included in both
>the vim-minimal and vim-common; there's no conflict between these two
>packages because the vimrc file is the same in both packages, but rpm
>seems to create the .rpmnew file anyway.

Thanks, Paul.  I see the (noreplace) in the spec file.  I don't think I
quite understand subpackages yet.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux