From 381152d28b76cb4f9ab99eeab393648d8cca6898bc69265f723d703b502fd98b Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Wed, 18 Jan 2023 13:28:54 +0000 Subject: [PATCH] - Remove u-a links in the correct scriptlet OBS-URL: https://build.opensuse.org/package/show/devel:tools/ctags?expand=0&rev=39 --- ctags.changes | 1 + ctags.spec | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ctags.changes b/ctags.changes index dec037f..792239a 100644 --- a/ctags.changes +++ b/ctags.changes @@ -5,6 +5,7 @@ Wed Jan 18 13:06:30 UTC 2023 - Adam Majer 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 diff --git a/ctags.spec b/ctags.spec index 5924b6d..ee237b9 100644 --- a/ctags.spec +++ b/ctags.spec @@ -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