- Remove u-a links in the correct scriptlet

OBS-URL: https://build.opensuse.org/package/show/devel:tools/ctags?expand=0&rev=39
This commit is contained in:
Adam Majer 2023-01-18 13:28:54 +00:00 committed by Git OBS Bridge
parent 03f7cb56b7
commit 381152d28b
2 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@ Wed Jan 18 13:06:30 UTC 2023 - Adam Majer <adam.majer@suse.de>
a tag file with a crafted filename (bsc#1206543, CVE-2022-4515)
- Stop resetting ctags update-alternative priority back to auto.
These are admin settings.
- Remove u-a links in the correct scriptlet
-------------------------------------------------------------------
Mon Sep 27 08:59:35 UTC 2021 - Michal Suchanek <msuchanek@suse.com>

View File

@ -88,8 +88,8 @@ test -L %{_bindir}/ctags || rm -f %{_bindir}/ctags
update-alternatives --install %{_bindir}/ctags ctags %{_bindir}/ctags-exuberant 20 \
--slave %{_mandir}/man1/ctags.1.gz ctags.1 %{_mandir}/man1/ctags-exuberant.1.gz
%preun
if [ $1 -eq 0 ]; then
%postun
if [ ! -f %{_bindir}/ctags-exuberant ]; then
update-alternatives --remove ctags %{_bindir}/ctags-exuberant
fi