12 Aug
2016
12 Aug
'16
08:53
On 12.08.2016 05:30, Andrei Borzenkov wrote:
One step is missing in example - creating (empty) file for %ghost to work - %{buildroot}%{_sysconfdir}/alternatives/vim. This should obviously happen under buildroot.
You only need this in ancient rpm versions.
What I am unsure - I was under impression that link target is managed by update-alternatives too, i.e. in this case /usr/bin/vim is created by update-alternatives --install. In this case it probably has to be %ghost as well.
No, /usr/bin/vim is a link to /etc/alternatives is a link shared in all packages owning vim. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org