Compare commits

..

No commits in common. "5445177004168f3bc958b0f38c75a2a6e52f311d" and "49ed9b60247a4fa1d5b482a88a466ad98689a630" have entirely different histories.

View File

@ -1,7 +1,7 @@
Name: cscope Name: cscope
Summary: a developer's tool for browsing source code Summary: a developer's tool for browsing source code
Version: 15.9 Version: 15.9
Release: 8 Release: 4
Source0: https://downloads.sourceforge.net/project/%{name}/%{name}/v%{version}/%{name}-%{version}.tar.gz Source0: https://downloads.sourceforge.net/project/%{name}/%{name}/v%{version}/%{name}-%{version}.tar.gz
URL: http://cscope.sourceforge.net URL: http://cscope.sourceforge.net
License: BSD and GPLv2+ License: BSD and GPLv2+
@ -46,11 +46,9 @@ done
%doc COPYING %doc COPYING
%{_bindir}/* %{_bindir}/*
%dir %{_datadir}/%{name} %dir %{_datadir}/%{name}
%{_datadir}/%{name}/cctree.vim %{_datadir}/%{name}/
%{_datadir}/%{name}/xcscope.el
%dir /var/lib/cs %dir /var/lib/cs
%files help
%{_mandir}/man1/* %{_mandir}/man1/*
%doc AUTHORS ChangeLog TODO README %doc AUTHORS ChangeLog TODO README
%doc contrib/cctree.txt %doc contrib/cctree.txt
@ -69,24 +67,13 @@ rm -f %{_datadir}/emacs/site-lisp/xcscope.el
ln -sf %{_datadir}/%{name}/cctree.vim %{_datadir}/vim/vimfiles/plugin/cctree.vim ln -sf %{_datadir}/%{name}/cctree.vim %{_datadir}/vim/vimfiles/plugin/cctree.vim
%triggerun -- vim-filesystem %triggerun -- vim-filesystem
if [ $1 -eq 0 ] || [ $2 -gt 0 ] if [ $2 -gt 0 ]
then then
rm -f %{_datadir}/vim/vimfiles/plugin/cctree.vim ||: exit 0
fi fi
rm -f %{_datadir}/vim/vimfiles/plugin/cctree.vim
%changelog %changelog
* Fri Nov 01 2024 xuguangmin <xuguangmin@kylinos.cn> - 15.9-8
- Files listed twice: /usr/share/cscope.
* 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
* Mon Mar 15 2021 liudabo<liudabo1@h-partners.com> - 15.9-5
- split help package from main package
* Fri Dec 11 2020 shixuantong<shixuantong@huawei.com> - 15.9-4 * Fri Dec 11 2020 shixuantong<shixuantong@huawei.com> - 15.9-4
- update Source0 and tarball from upstream - update Source0 and tarball from upstream