forked from pool/ctags
- 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
This commit is contained in:
parent
cfee708bb0
commit
e1879f6eb2
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 28 09:54:49 UTC 2021 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Ship symlinks that are not to be ghosted in the first place
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 11 12:09:50 UTC 2021 - Michal Suchanek <msuchanek@suse.com>
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user