import cscope-15.9-9.el8
This commit is contained in:
parent
95e2b36db8
commit
7322540834
@ -1,14 +1,3 @@
|
|||||||
diff -up ./src/command.c.coverity2 ./src/command.c
|
|
||||||
--- ./src/command.c.coverity2 2018-10-11 15:20:44.113781058 -0400
|
|
||||||
+++ ./src/command.c 2018-10-11 15:21:35.078607301 -0400
|
|
||||||
@@ -785,7 +785,6 @@ changestring(void)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
fprintf(script, "w\nq\n!\n"); /* write and quit */
|
|
||||||
- fclose(script);
|
|
||||||
|
|
||||||
/* if any line was marked */
|
|
||||||
if (anymarked == YES) {
|
|
||||||
diff -up ./src/egrep.c.coverity2 ./src/egrep.c
|
diff -up ./src/egrep.c.coverity2 ./src/egrep.c
|
||||||
--- ./src/egrep.c.coverity2 2018-10-11 15:22:40.481384312 -0400
|
--- ./src/egrep.c.coverity2 2018-10-11 15:22:40.481384312 -0400
|
||||||
+++ ./src/egrep.c 2018-10-11 15:23:31.152211589 -0400
|
+++ ./src/egrep.c 2018-10-11 15:23:31.152211589 -0400
|
||||||
|
11
SOURCES/cscope-dblfree.patch
Normal file
11
SOURCES/cscope-dblfree.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -up ./src/command.c.dblfree ./src/command.c
|
||||||
|
--- ./src/command.c.dblfree 2019-04-11 07:08:24.358253603 -0400
|
||||||
|
+++ ./src/command.c 2019-04-11 07:08:43.955193615 -0400
|
||||||
|
@@ -785,7 +785,6 @@ changestring(void)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
fprintf(script, "w\nq\n!\n"); /* write and quit */
|
||||||
|
- fclose(script);
|
||||||
|
|
||||||
|
/* if any line was marked */
|
||||||
|
if (anymarked == YES) {
|
@ -1,14 +1,15 @@
|
|||||||
Summary: C source code tree search and browse tool
|
Summary: C source code tree search and browse tool
|
||||||
Name: cscope
|
Name: cscope
|
||||||
Version: 15.9
|
Version: 15.9
|
||||||
Release: 6%{?dist}
|
Release: 9%{?dist}
|
||||||
Source0: https://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
|
||||||
URL: http://cscope.sourceforge.net
|
URL: http://cscope.sourceforge.net
|
||||||
License: BSD and GPLv2+
|
License: BSD and GPLv2+
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
BuildRequires: pkgconf-pkg-config ncurses-devel flex bison m4
|
BuildRequires: gcc pkgconf-pkg-config ncurses-devel flex bison m4
|
||||||
BuildRequires: autoconf automake
|
BuildRequires: autoconf automake
|
||||||
Requires: emacs-filesystem
|
Requires: emacs-filesystem coreutils
|
||||||
|
Requires: ed
|
||||||
%if !0%{?rhel}
|
%if !0%{?rhel}
|
||||||
Requires: xemacs-filesystem
|
Requires: xemacs-filesystem
|
||||||
%endif
|
%endif
|
||||||
@ -18,13 +19,13 @@ Patch1: cscope-selftest.patch
|
|||||||
Patch2: cscope-selftest-repoint.patch
|
Patch2: cscope-selftest-repoint.patch
|
||||||
Patch3: cscope-version.patch
|
Patch3: cscope-version.patch
|
||||||
Patch4: cscope-cscope-indexer-help.patch
|
Patch4: cscope-cscope-indexer-help.patch
|
||||||
|
Patch5: cscope-dblfree.patch
|
||||||
|
|
||||||
%define cscope_share_path %{_datadir}/cscope
|
%define cscope_share_path %{_datadir}/cscope
|
||||||
%define xemacs_lisp_path %{_datadir}/xemacs/site-packages/lisp
|
%define xemacs_lisp_path %{_datadir}/xemacs/site-packages/lisp
|
||||||
%define emacs_lisp_path %{_datadir}/emacs/site-lisp
|
%define emacs_lisp_path %{_datadir}/emacs/site-lisp
|
||||||
%define vim_plugin_path %{_datadir}/vim/vimfiles/plugin
|
%define vim_plugin_path %{_datadir}/vim/vimfiles/plugin
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
cscope is a mature, ncurses based, C source code tree browsing tool. It
|
cscope is a mature, ncurses based, C source code tree browsing tool. It
|
||||||
allows users to search large source code bases for variables, functions,
|
allows users to search large source code bases for variables, functions,
|
||||||
@ -59,8 +60,6 @@ for dir in %{xemacs_lisp_path} %{emacs_lisp_path} ; do
|
|||||||
echo "%ghost $dir/xcscope.el*" >> %{name}-%{version}.files
|
echo "%ghost $dir/xcscope.el*" >> %{name}-%{version}.files
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}-%{version}.files
|
%files -f %{name}-%{version}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
@ -96,6 +95,17 @@ rm -f %{emacs_lisp_path}/xcscope.el
|
|||||||
rm -f %{vim_plugin_path}/cctree.vim
|
rm -f %{vim_plugin_path}/cctree.vim
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 21 2020 Vladis Dronov <vdronov@redhat.com> - 15.9-9
|
||||||
|
- Remove another fclose() to please covscan (bz1886165)
|
||||||
|
|
||||||
|
* Wed Oct 07 2020 Vladis Dronov <vdronov@redhat.com> - 15.9-8
|
||||||
|
- Fix a double-free in changestring() (bz1886165)
|
||||||
|
- Update Requires to include coreutils and ed
|
||||||
|
- Adjust cscope-coverity-fixes.patch removing the fclose(script) chunk
|
||||||
|
- Adjust BuildRequires and remove trailing spaces
|
||||||
|
- Remove older source version from .gitignore
|
||||||
|
- Rename cscope-invindex-sizing.patch as it is for the older upstream version
|
||||||
|
|
||||||
* Tue Jun 25 2019 Neil Horman <nhorman@redhat.com> - 15.9-6
|
* Tue Jun 25 2019 Neil Horman <nhorman@redhat.com> - 15.9-6
|
||||||
- Fix covscan warning (bz 1722404)
|
- Fix covscan warning (bz 1722404)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user