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:
Dominique Leuenberger 2020-03-17 12:08:19 +00:00 committed by Git OBS Bridge
commit 3b138f1e9e
4 changed files with 34 additions and 18 deletions

View File

@ -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

Binary file not shown.

View File

@ -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

View File

@ -1,7 +1,7 @@
#
# 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
# 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)
# 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
Version: 15.8b
Version: 15.9
Release: 0
Summary: Interactive Tool for Browsing C Source Code
License: BSD-3-Clause
Group: Development/Tools/Navigators
Url: http://cscope.sourceforge.net/
Source: http://sourceforge.net/projects/cscope/files/cscope/%{version}/%{name}-%{version}.tar.gz
URL: http://cscope.sourceforge.net/
Source: http://sourceforge.net/projects/cscope/files/cscope/v%{version}/%{name}-%{version}.tar.gz
Patch1: cscope-null.patch
Patch2: cscope-15.7-gcc-warnings.patch
Patch3: cscope-15.7-vpath.patch
@ -35,7 +35,6 @@ BuildRequires: bison
BuildRequires: flex
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
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
%configure
make %{?_smp_mflags}
%make_build
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man1
install -m 755 src/cscope %{buildroot}%{_bindir}/cscope
install -m 644 doc/cscope.1 %{buildroot}%{_mandir}/man1/cscope.1
install -m 755 contrib/xcscope/cscope-indexer %{buildroot}%{_bindir}/cscope-indexer
install -Dpm 0755 src/cscope \
%{buildroot}%{_bindir}/cscope
install -Dpm 0644 doc/cscope.1 \
%{buildroot}%{_mandir}/man1/cscope.1
install -Dpm 0755 contrib/xcscope/cscope-indexer \
%{buildroot}%{_bindir}/cscope-indexer
pushd contrib
%make_install
popd
%files
%defattr(-,root,root)
%doc TODO COPYING ChangeLog AUTHORS README NEWS
%{_mandir}/man1/cscope.1%{ext_man}
%license COPYING
%doc TODO ChangeLog AUTHORS README NEWS
%{_bindir}/cscope
%{_bindir}/ocs
%{_bindir}/cscope-indexer
%{_mandir}/man1/cscope.1%{?ext_man}
%changelog