From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Description of problem: Both the vim-common and vim-minimal packages provide the /etc/vimrc file. Version-Release number of selected component (if applicable): 6.3.046-0.30E.1 How reproducible: Always Steps to Reproduce: 1.rpm -qf /etc/vimrc 2. 3. Actual Results: [root@wrx root]# rpm -qf /etc/vimrc vim-minimal-6.3.046-0.30E.1 vim-common-6.3.046-0.30E.1 Expected Results: Only one file should be listed. Additional info: Most likely /etc/vimrc should be dropped from the vim-minimal %files section and add vim-common as a dependency or if vim-minimal is not meant to have any of the common files anymore add a conflict.
There are several issues here and I had to pick a solution with minimal impact: - vim-minimal doesn't work properly without /etc/vimrc - the other vim binaries vim/gvim don't work without /etc/vimrc -> both need to have vimrc included - vim-minimal needs to be as small as possible to get smaller minimum installs, requiring vim-common for one small file out of 20Mb isn't a viable solution. What happens when you update all vim packages is the following: - vim-minimal gets updated, the new vimrc gets written - the other vim subpackages get updated, the vimrc from vim-common gets installed as vimrc.rpmnew. So you end up with a new vimrc and a copy of the new vimrc which doesn't break anything