From 259aa06ec8979455db54a68bfcf56ee8671486dd89909a5124acd12f9cde2851 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 13 Mar 2020 08:32:31 +0000 Subject: [PATCH 1/2] Accepting request 784552 from home:jirislaby:branches:devel:tools - 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/784552 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cscope?expand=0&rev=23 --- cscope-15.8b.tar.gz | 3 --- cscope-15.9.tar.gz | 3 +++ cscope.changes | 10 ++++++++++ cscope.spec | 11 ++++++----- 4 files changed, 19 insertions(+), 8 deletions(-) delete mode 100644 cscope-15.8b.tar.gz create mode 100644 cscope-15.9.tar.gz diff --git a/cscope-15.8b.tar.gz b/cscope-15.8b.tar.gz deleted file mode 100644 index 2f082c8..0000000 --- a/cscope-15.8b.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4889d091f05aa0845384b1e4965aa31d2b20911fb2c001b2cdcffbcb7212d3af -size 613187 diff --git a/cscope-15.9.tar.gz b/cscope-15.9.tar.gz new file mode 100644 index 0000000..057bb23 --- /dev/null +++ b/cscope-15.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5505ae075a871a9cd8d9801859b0ff1c09782075df281c72c23e72115d9f159 +size 613948 diff --git a/cscope.changes b/cscope.changes index da422d0..8a85141 100644 --- a/cscope.changes +++ b/cscope.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Mar 13 07:55:40 UTC 2020 - Jiri Slaby + +- 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 diff --git a/cscope.spec b/cscope.spec index 092f11d..5692bbf 100644 --- a/cscope.spec +++ b/cscope.spec @@ -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,17 +12,17 @@ # 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/ +URL: http://cscope.sourceforge.net/ Source: http://sourceforge.net/projects/cscope/files/cscope/%{version}/%{name}-%{version}.tar.gz Patch1: cscope-null.patch Patch2: cscope-15.7-gcc-warnings.patch @@ -67,7 +67,8 @@ popd %files %defattr(-,root,root) -%doc TODO COPYING ChangeLog AUTHORS README NEWS +%doc TODO ChangeLog AUTHORS README NEWS +%license COPYING %{_mandir}/man1/cscope.1%{ext_man} %{_bindir}/cscope %{_bindir}/ocs From e4000c5a0cf4766e58f688f10e1620dca111164784728602ba85a37e19195dc8 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 16 Mar 2020 06:35:32 +0000 Subject: [PATCH 2/2] - Fix download url - Clean up spec file with spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:tools/cscope?expand=0&rev=24 --- cscope.changes | 6 ++++++ cscope.spec | 21 ++++++++++----------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/cscope.changes b/cscope.changes index 8a85141..2221121 100644 --- a/cscope.changes +++ b/cscope.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 16 06:29:00 UTC 2020 - Martin Pluskal + +- Fix download url +- Clean up spec file with spec-cleaner + ------------------------------------------------------------------- Fri Mar 13 07:55:40 UTC 2020 - Jiri Slaby diff --git a/cscope.spec b/cscope.spec index 5692bbf..3937160 100644 --- a/cscope.spec +++ b/cscope.spec @@ -23,7 +23,7 @@ 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 +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,25 +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 ChangeLog AUTHORS README NEWS %license COPYING -%{_mandir}/man1/cscope.1%{ext_man} +%doc TODO ChangeLog AUTHORS README NEWS %{_bindir}/cscope %{_bindir}/ocs %{_bindir}/cscope-indexer +%{_mandir}/man1/cscope.1%{?ext_man} %changelog