Accepting request 593235 from home:kukuk:branches:shells

- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/request/show/593235
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=91
This commit is contained in:
Dr. Werner Fink 2018-04-20 11:56:11 +00:00 committed by Git OBS Bridge
parent ca247a30dd
commit 7573a9abb9
3 changed files with 10 additions and 5 deletions

View File

@ -1,7 +1,7 @@
#
# spec file for package bash-completion-doc
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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 @@ Name: bash-completion-doc
Version: 2.7
Release: 0
Summary: The Documentation of Programmable Completion for Bash
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
Url: https://github.com/scop/bash-completion/
Source0: https://github.com/scop/bash-completion/releases/download/%{version}/%{_name}-%{version}.tar.xz

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 3 15:30:09 CEST 2018 - kukuk@suse.de
- Use %license instead of %doc [bsc#1082318]
-------------------------------------------------------------------
Mon Dec 18 15:29:04 CET 2017 - sbrabec@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package bash-completion
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -25,7 +25,7 @@ Name: bash-completion
Version: 2.7
Release: 0
Summary: Programmable Completion for Bash
License: GPL-2.0+
License: GPL-2.0-or-later
Group: System/Shells
Url: https://github.com/scop/bash-completion/
Source0: https://github.com/scop/bash-completion/releases/download/%{version}/%{name}-%{version}.tar.xz
@ -159,7 +159,7 @@ install -m 0644 README.md %{buildroot}%{_defaultdocdir}/%{name}/README
%if %build_core
%files
%defattr(-,root,root)
%doc COPYING
%license COPYING
%if %build_doc
%exclude %{_defaultdocdir}/%{name}/AUTHORS
%exclude %{_defaultdocdir}/%{name}/README