Accepting request 591570 from home:kukuk:branches:devel:libraries:c_c++

- Use %license instead of %doc [bsc#1082318]
- Move docu to -devel subpackage, where it fits better

OBS-URL: https://build.opensuse.org/request/show/591570
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gdbm?expand=0&rev=42
This commit is contained in:
Dirk Mueller 2018-03-27 11:39:57 +00:00 committed by Git OBS Bridge
parent ca266b5c30
commit 0f9dc49d46
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 27 13:17:38 CEST 2018 - kukuk@suse.de
- Use %license instead of %doc [bsc#1082318]
- Move docu to -devel subpackage, where it fits better
-------------------------------------------------------------------
Mon Jul 10 21:22:06 UTC 2017 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package gdbm
#
# 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
@ -21,7 +21,7 @@ Name: gdbm
Version: 1.13
Release: 0
Summary: GNU dbm key/data database
License: GPL-3.0+
License: GPL-3.0-or-later
Group: Development/Libraries/C and C++
Url: https://www.gnu.org/software/gdbm/
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
@ -51,7 +51,7 @@ a database.
%package -n %{lname}
Summary: GNU dbm key/data database
License: GPL-3.0+
License: GPL-3.0-or-later
Group: System/Libraries
Recommends: %{name}-lang = %{version}
# O/P added in 12.2
@ -74,7 +74,7 @@ a database.
%package devel
Summary: Include Files and Libraries mandatory for Development
License: GPL-3.0+ AND LGPL-2.1+
License: GPL-3.0-or-later AND LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Requires: gdbm = %{version}
Requires(postun): %{install_info_prereq}
@ -116,13 +116,14 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files lang -f %{name}.lang
%files -n %{lname}
%doc COPYING README NEWS
%license COPYING
%{_libdir}/libgdbm.so.4
%{_libdir}/libgdbm.so.4.0.0
%{_libdir}/libgdbm_compat.so.4
%{_libdir}/libgdbm_compat.so.4.0.0
%files devel
%doc README NEWS
%{_bindir}/*
%{_includedir}/dbm.h
%{_includedir}/gdbm.h