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

- Put back ndbm compat as the perl testuite seem to have hard time
  without it

- Version update to 1.14.1:
  * Manpage formating issues
  * Make gdbm_error thread-safe
  * Improve database reproducibility
  * Fix build with --enable-gdbm-export
- Rebase patch gdbm-no-build-date.patch

OBS-URL: https://build.opensuse.org/request/show/606434
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gdbm?expand=0&rev=43
This commit is contained in:
Stanislav Brabec 2018-05-11 13:43:00 +00:00 committed by Git OBS Bridge
parent 0f9dc49d46
commit 740e27679c
8 changed files with 46 additions and 25 deletions

View File

@ -1,4 +1,4 @@
libgdbm4
libgdbm5
obsoletes "gdbm-<targettype> < <version>"
gdbm-devel
requires -gdbm-<targettype>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d252cbd7d793f7b12bcceaddda98d257c14f4d1890d851c386c37207000a253
size 891987

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
iEYEABECAAYFAljEKKgACgkQNgKwf1XQxzJI/gCgneIHAy4tfcEhzuNLeVE4PO+D
TxcAoKNkmTk5PwNBHSbsOI8sanQop+F/
=R+s2
-----END PGP SIGNATURE-----

3
gdbm-1.14.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cdceff00ffe014495bed3aed71c7910aa88bf29379f795abc0f46d4ee5f8bc5f
size 894412

7
gdbm-1.14.1.tar.gz.sig Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
iEYEABECAAYFAlpM/RMACgkQNgKwf1XQxzJ/VACghGZzncnAAgNRdtWl0Q6J1WR+
i1EAn1yWMe7Y31thdTCnZumJAOs6Cl6Y
=Ixl8
-----END PGP SIGNATURE-----

View File

@ -5,7 +5,7 @@ Index: src/version.c
@@ -25,9 +25,6 @@
making the distdir. */
const char * gdbm_version = "GDBM version " PACKAGE_VERSION ". "
"11/03/2017"
"03/01/2018"
-#if defined(__STDC__) && defined(__DATE__) && defined(__TIME__)
- " (built " __DATE__ " " __TIME__ ")"
-#endif

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri May 11 12:14:06 UTC 2018 - tchvatal@suse.com
- Put back ndbm compat as the perl testuite seem to have hard time
without it
-------------------------------------------------------------------
Fri May 11 11:52:38 UTC 2018 - tchvatal@suse.com
- Version update to 1.14.1:
* Manpage formating issues
* Make gdbm_error thread-safe
* Improve database reproducibility
* Fix build with --enable-gdbm-export
- Rebase patch gdbm-no-build-date.patch
-------------------------------------------------------------------
Tue Mar 27 13:17:38 CEST 2018 - kukuk@suse.de

View File

@ -16,14 +16,14 @@
#
%define lname libgdbm4
%define lname libgdbm5
Name: gdbm
Version: 1.13
Version: 1.14.1
Release: 0
Summary: GNU dbm key/data database
License: GPL-3.0-or-later
Group: Development/Libraries/C and C++
Url: https://www.gnu.org/software/gdbm/
URL: https://www.gnu.org/software/gdbm/
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig
Source2: baselibs.conf
@ -32,7 +32,7 @@ Source4: %{name}.keyring
Patch4: gdbm-no-build-date.patch
BuildRequires: libtool
BuildRequires: makeinfo
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: readline-devel
%lang_package
%description
@ -77,9 +77,8 @@ 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(postun): %{install_info_prereq}
Requires(pre): %{install_info_prereq}
Provides: gdbm:%{_libexecdir}/libgdbm.so
Requires(preun): %{install_info_prereq}
%description devel
This package contains all necessary include files and libraries needed
@ -93,7 +92,9 @@ to develop applications that require these.
%configure \
--disable-static \
--disable-silent-rules \
--enable-libgdbm-compat
--enable-libgdbm-compat \
--enable-nls \
--with-readline
make %{?_smp_mflags}
%check
@ -101,6 +102,11 @@ make check %{?_smp_mflags}
%install
%make_install
echo "/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
GROUP ( %{_libdir}/libgdbm.so %{_libdir}/libgdbm_compat.so )" > %{buildroot}/%{_libdir}/libndbm.so
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name}
@ -117,10 +123,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files -n %{lname}
%license COPYING
%{_libdir}/libgdbm.so.4
%{_libdir}/libgdbm.so.4.0.0
%{_libdir}/libgdbm_compat.so.4
%{_libdir}/libgdbm_compat.so.4.0.0
%{_libdir}/libgdbm.so.*
%{_libdir}/libgdbm_compat.so.*
%files devel
%doc README NEWS
@ -128,10 +132,11 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_includedir}/dbm.h
%{_includedir}/gdbm.h
%{_includedir}/ndbm.h
%{_infodir}/gdbm.info%{ext_info}
%{_infodir}/gdbm.info%{?ext_info}
%{_libdir}/libgdbm.so
%{_libdir}/libgdbm_compat.so
%{_libdir}/libndbm.so
%{_mandir}/man1/*%{ext_man}
%{_mandir}/man3/gdbm.3%{ext_man}
%{_mandir}/man3/gdbm.3%{?ext_man}
%changelog