!22 preun remove redundant symbolic links
From: @Linux_zhang2024 Reviewed-by: @gaoruoshu, @zengwefeng, @zhoupengcheng11 Signed-off-by: @gaoruoshu, @zengwefeng
This commit is contained in:
commit
68e59c947c
10
cscope.spec
10
cscope.spec
@ -1,7 +1,7 @@
|
||||
Name: cscope
|
||||
Summary: a developer's tool for browsing source code
|
||||
Version: 15.9
|
||||
Release: 6
|
||||
Release: 7
|
||||
Source0: https://downloads.sourceforge.net/project/%{name}/%{name}/v%{version}/%{name}-%{version}.tar.gz
|
||||
URL: http://cscope.sourceforge.net
|
||||
License: BSD and GPLv2+
|
||||
@ -68,13 +68,15 @@ rm -f %{_datadir}/emacs/site-lisp/xcscope.el
|
||||
ln -sf %{_datadir}/%{name}/cctree.vim %{_datadir}/vim/vimfiles/plugin/cctree.vim
|
||||
|
||||
%triggerun -- vim-filesystem
|
||||
if [ $2 -gt 0 ]
|
||||
if [ $1 -eq 0 ] || [ $2 -gt 0 ]
|
||||
then
|
||||
exit 0
|
||||
rm -f %{_datadir}/vim/vimfiles/plugin/cctree.vim ||:
|
||||
fi
|
||||
rm -f %{_datadir}/vim/vimfiles/plugin/cctree.vim
|
||||
|
||||
%changelog
|
||||
* Wed Jul 31 2024 zhangruifang <zhangruifang@h-partners.com> - 15.9-7
|
||||
- %%preun remove redundant symbolic links
|
||||
|
||||
* Mon Oct 24 2022 yanglongkang<yanglongkang@h-partners.com> - 15.9-6
|
||||
- rebuild for next release
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user