From 0f9dc49d4649e0c049ee0837d124cbe77bfa58d4c4d88037ed1e5b25d20659e8 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 27 Mar 2018 11:39:57 +0000 Subject: [PATCH] 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 --- gdbm.changes | 6 ++++++ gdbm.spec | 11 ++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/gdbm.changes b/gdbm.changes index 170b28d..3e6b722 100644 --- a/gdbm.changes +++ b/gdbm.changes @@ -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 diff --git a/gdbm.spec b/gdbm.spec index 4a07f6c..4e3d321 100644 --- a/gdbm.spec +++ b/gdbm.spec @@ -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