From 9c7f2a5aae0d012254eb58920d1283f8c3a28121e4bbd024ba8d02f0603c3002 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sat, 4 Apr 2015 09:14:06 +0000 Subject: [PATCH] Accepting request 294233 from home:pluskalm:branches:devel:tools - Use url for source OBS-URL: https://build.opensuse.org/request/show/294233 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cscope?expand=0&rev=17 --- cscope-15.8a.tar.bz2 | 3 --- cscope-15.8a.tar.gz | 3 +++ cscope.changes | 5 +++++ cscope.spec | 7 ++++--- 4 files changed, 12 insertions(+), 6 deletions(-) delete mode 100644 cscope-15.8a.tar.bz2 create mode 100644 cscope-15.8a.tar.gz diff --git a/cscope-15.8a.tar.bz2 b/cscope-15.8a.tar.bz2 deleted file mode 100644 index 022cce0..0000000 --- a/cscope-15.8a.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eab34b1179a582bb4e3a875778d5e30fbc99d46cdeaf3bef866471bcd4cc7cf7 -size 516150 diff --git a/cscope-15.8a.tar.gz b/cscope-15.8a.tar.gz new file mode 100644 index 0000000..1068010 --- /dev/null +++ b/cscope-15.8a.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb736ac40d5abebe8fa46820c7a8eccc8a17966a9a5f70375367b77177874d1e +size 601232 diff --git a/cscope.changes b/cscope.changes index 3a305fc..9c8ef28 100644 --- a/cscope.changes +++ b/cscope.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 2 17:36:01 UTC 2015 - mpluskal@suse.com + +- Use url for source + ------------------------------------------------------------------- Mon Jan 5 13:44:49 UTC 2015 - jslaby@suse.com diff --git a/cscope.spec b/cscope.spec index 9a99a7b..4a86419 100644 --- a/cscope.spec +++ b/cscope.spec @@ -1,7 +1,7 @@ # # spec file for package cscope # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -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: %{name}-%{version}.tar.bz2 +Source: http://sourceforge.net/projects/cscope/files/cscope/%{version}/%{name}-%{version}.tar.gz Patch1: %{name}-null.patch Patch2: %{name}-15.7-gcc-warnings.patch Patch3: %{name}-15.7-vpath.patch @@ -34,6 +34,7 @@ Patch7: support-fun-as-params.patch BuildRequires: bison BuildRequires: flex BuildRequires: ncurses-devel +BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -61,7 +62,7 @@ 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 pushd contrib -%makeinstall +make DESTDIR=%{buildroot} install %{?_smp_mflags} popd %files