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
This commit is contained in:
Martin Pluskal 2017-03-24 12:58:14 +00:00 committed by Git OBS Bridge
parent a03d4b4f4f
commit f3c9f57727
2 changed files with 16 additions and 10 deletions

View File

@ -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 Sat Jan 2 23:03:49 UTC 2016 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package cscope # 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 # 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
@ -24,17 +24,17 @@ 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/%{version}/%{name}-%{version}.tar.gz
Patch1: %{name}-null.patch Patch1: cscope-null.patch
Patch2: %{name}-15.7-gcc-warnings.patch Patch2: cscope-15.7-gcc-warnings.patch
Patch3: %{name}-15.7-vpath.patch Patch3: cscope-15.7-vpath.patch
Patch4: %{name}-15.8a-fix-bashisms.patch Patch4: cscope-15.8a-fix-bashisms.patch
Patch5: %{name}-cleanup_on_sigterm.patch Patch5: cscope-cleanup_on_sigterm.patch
Patch6: %{name}-egrep.out.patch Patch6: cscope-egrep.out.patch
Patch7: support-fun-as-params.patch Patch7: support-fun-as-params.patch
BuildRequires: bison BuildRequires: bison
BuildRequires: flex BuildRequires: flex
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: pkg-config BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %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 644 doc/cscope.1 %{buildroot}%{_mandir}/man1/cscope.1
install -m 755 contrib/xcscope/cscope-indexer %{buildroot}%{_bindir}/cscope-indexer install -m 755 contrib/xcscope/cscope-indexer %{buildroot}%{_bindir}/cscope-indexer
pushd contrib pushd contrib
make DESTDIR=%{buildroot} install %{?_smp_mflags} %make_install
popd popd
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc TODO COPYING ChangeLog AUTHORS README NEWS %doc TODO COPYING ChangeLog AUTHORS README NEWS
%doc %{_mandir}/man1/cscope.1.gz %{_mandir}/man1/cscope.1%{ext_man}
%{_bindir}/cscope %{_bindir}/cscope
%{_bindir}/ocs %{_bindir}/ocs
%{_bindir}/cscope-indexer %{_bindir}/cscope-indexer