SHA256
3
0
forked from pool/gdbm

Accepting request 606957 from home:scarabeus_iv:branches:devel:languages:perl

- Require both compat and base in develpkg

OBS-URL: https://build.opensuse.org/request/show/606957
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gdbm?expand=0&rev=44
This commit is contained in:
Petr Gajdos 2018-05-14 08:59:31 +00:00 committed by Git OBS Bridge
parent 740e27679c
commit a7e98628aa
2 changed files with 27 additions and 2 deletions

View File

@ -1,8 +1,9 @@
-------------------------------------------------------------------
Fri May 11 12:14:06 UTC 2018 - tchvatal@suse.com
Mon May 14 08:56:00 UTC 2018 - tchvatal@suse.com
- Put back ndbm compat as the perl testuite seem to have hard time
without it
- Require both compat and base in develpkg
-------------------------------------------------------------------
Fri May 11 11:52:38 UTC 2018 - tchvatal@suse.com

View File

@ -17,6 +17,7 @@
%define lname libgdbm5
%define lcompat libgdbm_compat4
Name: gdbm
Version: 1.14.1
Release: 0
@ -72,11 +73,29 @@ and retrieving the data by its key and deleting a key along with its
data. It also supports sequential iteration over all key/data pairs in
a database.
%package -n %{lcompat}
Summary: GNU dbm key/data database compat wrapper
License: GPL-3.0-or-later
Group: System/Libraries
Recommends: %{name}-lang = %{version}
# Was provided in older sonames
Conflicts: libgdbm4
Conflicts: libgdbm3
%description -n %{lcompat}
GNU dbm is a library of database functions that use extensible
hashing and work similar to the standard UNIX dbm. These routines are
provided to a programmer needing to create and manipulate a hashed
database.
This library is providing compatibility wrappers.
%package devel
Summary: Include Files and Libraries mandatory for Development
License: GPL-3.0-or-later AND LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Requires: gdbm = %{version}
Requires: %{lcompat} = %{version}
Requires: %{lname} = %{version}
Requires(pre): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
@ -118,12 +137,17 @@ find %{buildroot} -type f -name "*.la" -delete -print
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%post -n %{lcompat} -p /sbin/ldconfig
%postun -n %{lcompat} -p /sbin/ldconfig
%files lang -f %{name}.lang
%files -n %{lname}
%license COPYING
%{_libdir}/libgdbm.so.*
%files -n %{lcompat}
%license COPYING
%{_libdir}/libgdbm_compat.so.*
%files devel