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:
parent
740e27679c
commit
a7e98628aa
@ -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
|
- Put back ndbm compat as the perl testuite seem to have hard time
|
||||||
without it
|
without it
|
||||||
|
- Require both compat and base in develpkg
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 11 11:52:38 UTC 2018 - tchvatal@suse.com
|
Fri May 11 11:52:38 UTC 2018 - tchvatal@suse.com
|
||||||
|
26
gdbm.spec
26
gdbm.spec
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define lname libgdbm5
|
%define lname libgdbm5
|
||||||
|
%define lcompat libgdbm_compat4
|
||||||
Name: gdbm
|
Name: gdbm
|
||||||
Version: 1.14.1
|
Version: 1.14.1
|
||||||
Release: 0
|
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
|
data. It also supports sequential iteration over all key/data pairs in
|
||||||
a database.
|
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
|
%package devel
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Include Files and Libraries mandatory for Development
|
||||||
License: GPL-3.0-or-later AND LGPL-2.1-or-later
|
License: GPL-3.0-or-later AND LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: gdbm = %{version}
|
Requires: %{lcompat} = %{version}
|
||||||
|
Requires: %{lname} = %{version}
|
||||||
Requires(pre): %{install_info_prereq}
|
Requires(pre): %{install_info_prereq}
|
||||||
Requires(preun): %{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
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
%postun -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 lang -f %{name}.lang
|
||||||
|
|
||||||
%files -n %{lname}
|
%files -n %{lname}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_libdir}/libgdbm.so.*
|
%{_libdir}/libgdbm.so.*
|
||||||
|
|
||||||
|
%files -n %{lcompat}
|
||||||
|
%license COPYING
|
||||||
%{_libdir}/libgdbm_compat.so.*
|
%{_libdir}/libgdbm_compat.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
Loading…
Reference in New Issue
Block a user