From e1879f6eb2390de3abc1f0aee2c0ff9b5965e605ef66b78f6a406016da03f123 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Thu, 28 Jan 2021 10:02:32 +0000 Subject: [PATCH] - Ship symlinks that are not to be ghosted in the first place OBS-URL: https://build.opensuse.org/package/show/devel:tools/ctags?expand=0&rev=33 --- ctags.changes | 5 +++++ ctags.spec | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ctags.changes b/ctags.changes index 5d30fa5..2a5a8ae 100644 --- a/ctags.changes +++ b/ctags.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 28 09:54:49 UTC 2021 - Adam Majer + +- Ship symlinks that are not to be ghosted in the first place + ------------------------------------------------------------------- Mon Jan 11 12:09:50 UTC 2021 - Michal Suchanek diff --git a/ctags.spec b/ctags.spec index d5c049b..c021fcb 100644 --- a/ctags.spec +++ b/ctags.spec @@ -93,6 +93,9 @@ make \ mv %{buildroot}%{_bindir}/ctags{,-exuberant} mv %{buildroot}%{_mandir}/man1/ctags{,-exuberant}.1 +ln -s %{_sysconfdir}/alternatives/ctags %{buildroot}%{_bindir}/ctags +ln -s %{_sysconfdir}/alternatives/ctags.1%{ext_man} %{buildroot}%{_mandir}/man1/ctags.1%{ext_man} + %post test -L %{_bindir}/ctags || rm -f %{_bindir}/ctags update-alternatives --install %{_bindir}/ctags ctags %{_bindir}/ctags-exuberant 20 \ @@ -109,8 +112,8 @@ fi %doc COPYING EXTENDING.html FAQ README %{_bindir}/ctags-exuberant %{_mandir}/man1/ctags-exuberant.1%{ext_man} -%ghost %{_bindir}/ctags -%ghost %{_mandir}/man1/ctags.1%{ext_man} +%{_bindir}/ctags +%{_mandir}/man1/ctags.1%{ext_man} %ghost %{_sysconfdir}/alternatives/ctags %ghost %{_sysconfdir}/alternatives/ctags.1%{ext_man}