From f3c9f577276205e75ed76b31dd66736b1d51b2e16340e4e19da638cfa42864ed Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 24 Mar 2017 12:58:14 +0000 Subject: [PATCH] Accepting request 482472 from home:kstreitova:branches:devel:tools - cleanup with spec-cleaner - get rid of %{name} macros in the patch names OBS-URL: https://build.opensuse.org/request/show/482472 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cscope?expand=0&rev=21 --- cscope.changes | 6 ++++++ cscope.spec | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/cscope.changes b/cscope.changes index dd33b48..da422d0 100644 --- a/cscope.changes +++ b/cscope.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 23 15:14:36 UTC 2017 - kstreitova@suse.com + +- cleanup with spec-cleaner +- get rid of %{name} macros in the patch names + ------------------------------------------------------------------- Sat Jan 2 23:03:49 UTC 2016 - p.drouand@gmail.com diff --git a/cscope.spec b/cscope.spec index 1595400..092f11d 100644 --- a/cscope.spec +++ b/cscope.spec @@ -1,7 +1,7 @@ # # spec file for package cscope # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -24,17 +24,17 @@ 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 -Patch1: %{name}-null.patch -Patch2: %{name}-15.7-gcc-warnings.patch -Patch3: %{name}-15.7-vpath.patch -Patch4: %{name}-15.8a-fix-bashisms.patch -Patch5: %{name}-cleanup_on_sigterm.patch -Patch6: %{name}-egrep.out.patch +Patch1: cscope-null.patch +Patch2: cscope-15.7-gcc-warnings.patch +Patch3: cscope-15.7-vpath.patch +Patch4: cscope-15.8a-fix-bashisms.patch +Patch5: cscope-cleanup_on_sigterm.patch +Patch6: cscope-egrep.out.patch Patch7: support-fun-as-params.patch BuildRequires: bison BuildRequires: flex BuildRequires: ncurses-devel -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -62,13 +62,13 @@ 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 -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install popd %files %defattr(-,root,root) %doc TODO COPYING ChangeLog AUTHORS README NEWS -%doc %{_mandir}/man1/cscope.1.gz +%{_mandir}/man1/cscope.1%{ext_man} %{_bindir}/cscope %{_bindir}/ocs %{_bindir}/cscope-indexer