Accepting request 785447 from devel:tools
- Fix download url - Clean up spec file with spec-cleaner - Update to 15.9 * Fix coverity scan warnings * cscope: Add ( and | as metachars in regex search * Adding chek on return code of search() in linemode * Fix DOS style line endings in one file; enable system C extensions, if available OBS-URL: https://build.opensuse.org/request/show/785447 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cscope?expand=0&rev=30
This commit is contained in:
commit
3b138f1e9e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4889d091f05aa0845384b1e4965aa31d2b20911fb2c001b2cdcffbcb7212d3af
|
|
||||||
size 613187
|
|
BIN
cscope-15.9.tar.gz
(Stored with Git LFS)
Normal file
BIN
cscope-15.9.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 16 06:29:00 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Fix download url
|
||||||
|
- Clean up spec file with spec-cleaner
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 13 07:55:40 UTC 2020 - Jiri Slaby <jslaby@suse.com>
|
||||||
|
|
||||||
|
- Update to 15.9
|
||||||
|
* Fix coverity scan warnings
|
||||||
|
* cscope: Add ( and | as metachars in regex search
|
||||||
|
* Adding chek on return code of search() in linemode
|
||||||
|
* Fix DOS style line endings in one file; enable system C extensions,
|
||||||
|
if available
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 23 15:14:36 UTC 2017 - kstreitova@suse.com
|
Thu Mar 23 15:14:36 UTC 2017 - kstreitova@suse.com
|
||||||
|
|
||||||
|
30
cscope.spec
30
cscope.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package cscope
|
# spec file for package cscope
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,18 +12,18 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: cscope
|
Name: cscope
|
||||||
Version: 15.8b
|
Version: 15.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Interactive Tool for Browsing C Source Code
|
Summary: Interactive Tool for Browsing C Source Code
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Tools/Navigators
|
Group: Development/Tools/Navigators
|
||||||
Url: http://cscope.sourceforge.net/
|
URL: http://cscope.sourceforge.net/
|
||||||
Source: http://sourceforge.net/projects/cscope/files/cscope/%{version}/%{name}-%{version}.tar.gz
|
Source: http://sourceforge.net/projects/cscope/files/cscope/v%{version}/%{name}-%{version}.tar.gz
|
||||||
Patch1: cscope-null.patch
|
Patch1: cscope-null.patch
|
||||||
Patch2: cscope-15.7-gcc-warnings.patch
|
Patch2: cscope-15.7-gcc-warnings.patch
|
||||||
Patch3: cscope-15.7-vpath.patch
|
Patch3: cscope-15.7-vpath.patch
|
||||||
@ -35,7 +35,6 @@ BuildRequires: bison
|
|||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Cscope is an interactive, screen-oriented tool that allows the user to
|
Cscope is an interactive, screen-oriented tool that allows the user to
|
||||||
@ -53,24 +52,25 @@ browse through C source code files for specified elements of code.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
install -Dpm 0755 src/cscope \
|
||||||
mkdir -p %{buildroot}%{_mandir}/man1
|
%{buildroot}%{_bindir}/cscope
|
||||||
install -m 755 src/cscope %{buildroot}%{_bindir}/cscope
|
install -Dpm 0644 doc/cscope.1 \
|
||||||
install -m 644 doc/cscope.1 %{buildroot}%{_mandir}/man1/cscope.1
|
%{buildroot}%{_mandir}/man1/cscope.1
|
||||||
install -m 755 contrib/xcscope/cscope-indexer %{buildroot}%{_bindir}/cscope-indexer
|
install -Dpm 0755 contrib/xcscope/cscope-indexer \
|
||||||
|
%{buildroot}%{_bindir}/cscope-indexer
|
||||||
pushd contrib
|
pushd contrib
|
||||||
%make_install
|
%make_install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc TODO COPYING ChangeLog AUTHORS README NEWS
|
%doc TODO ChangeLog AUTHORS README NEWS
|
||||||
%{_mandir}/man1/cscope.1%{ext_man}
|
|
||||||
%{_bindir}/cscope
|
%{_bindir}/cscope
|
||||||
%{_bindir}/ocs
|
%{_bindir}/ocs
|
||||||
%{_bindir}/cscope-indexer
|
%{_bindir}/cscope-indexer
|
||||||
|
%{_mandir}/man1/cscope.1%{?ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user