Hello community, here is the log from the commit of package gdbm for openSUSE:Factory checked in at 2018-05-20 17:19:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdbm (Old) and /work/SRC/openSUSE:Factory/.gdbm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdbm" Sun May 20 17:19:07 2018 rev:35 rq:610471 version:1.13 Changes: -------- --- /work/SRC/openSUSE:Factory/gdbm/gdbm.changes 2016-05-26 23:52:22.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gdbm.new/gdbm.changes 2018-05-20 17:19:12.853153524 +0200 @@ -1,0 +2,61 @@ +Fri May 18 16:35:12 UTC 2018 - [email protected] + +- Fix boilerplate summary. + +------------------------------------------------------------------- +Fri May 18 07:28:56 UTC 2018 - [email protected] + +- Fix missing dash in baselibs.conf + +------------------------------------------------------------------- +Mon May 14 17:55:17 UTC 2018 - [email protected] + +- Revert to release 1.13 to allow migration to split compat package + first. Otherwise OBS can't get heads or tails on conflicts + +------------------------------------------------------------------- +Mon May 14 09:13:07 UTC 2018 - [email protected] + +- Fix baselibs.conf that got hammered with the compat split from + main library + +------------------------------------------------------------------- +Mon May 14 08:56:00 UTC 2018 - [email protected] + +- 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 - [email protected] + +- 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 - [email protected] + +- Use %license instead of %doc [bsc#1082318] +- Move docu to -devel subpackage, where it fits better + +------------------------------------------------------------------- +Mon Jul 10 21:22:06 UTC 2017 - [email protected] + +- Fix RPM groups. + +------------------------------------------------------------------- +Wed Jun 28 14:20:34 UTC 2017 - [email protected] + +- Version update to 1.13: + * Various few fixes +- Cleanup the spec a bit +- Refresh patch gdbm-no-build-date.patch +- Remove chinese language support patched in house, if anything it + should be merged in the upstream git repo +- Drop the ndbm compats as it is not provided by any other distro + +------------------------------------------------------------------- Old: ---- gdbm-1.12.tar.gz gdbm-1.12.tar.gz.sig zh_CN.gmo New: ---- gdbm-1.13.tar.gz gdbm-1.13.tar.gz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdbm.spec ++++++ --- /var/tmp/diff_new_pack.gvGopR/_old 2018-05-20 17:19:14.017110835 +0200 +++ /var/tmp/diff_new_pack.gvGopR/_new 2018-05-20 17:19:14.021110688 +0200 @@ -1,7 +1,7 @@ # # spec file for package gdbm # -# Copyright (c) 2016 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 @@ -17,27 +17,24 @@ %define lname libgdbm4 +%define lcompat libgdbm_compat4 Name: gdbm -Version: 1.12 +Version: 1.13 Release: 0 Summary: GNU dbm key/data database -License: GPL-3.0+ -Group: System/Libraries -Url: https://www.gnu.org.ua/software/gdbm/ +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 Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig Source2: baselibs.conf -# ENHANCE-FOR-UPSTREM [email protected] - add zh_CN translation. And I'll submit it to upstream. -Source3: zh_CN.gmo Source4: %{name}.keyring -# FIX-FOR-UPSTREAM [email protected] - remove the build date from src/version.c +# PATCH-FIX-SUSE: remove the build date from src/version.c Patch4: gdbm-no-build-date.patch -BuildRequires: autoconf >= 2.63 -BuildRequires: automake >= 1.11 BuildRequires: libtool BuildRequires: makeinfo -BuildRoot: %{_tmppath}/%{name}-%{version}-build -#!BuildIgnore: man +BuildRequires: readline-devel +%lang_package %description GNU dbm is a library of database functions that use extensible @@ -53,13 +50,11 @@ data. It also supports sequential iteration over all key/data pairs in a database. -For compatibility with programs using old UNIX dbm functions, the -package also provides traditional dbm and ndbm interfaces. - %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 Obsoletes: gdbm < %{version}-%{release} Provides: gdbm = %{version}-%{release} @@ -78,17 +73,30 @@ data. It also supports sequential iteration over all key/data pairs in a database. -For compatibility with programs using old UNIX dbm functions, the -package also provides traditional dbm and ndbm interfaces. +%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: 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+ and LGPL-2.1+ +Summary: Development files for the dbm key/data database library +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: %{lcompat} = %{version} +Requires: %{lname} = %{version} 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 @@ -99,68 +107,59 @@ %patch4 %build -aclocal -autoreconf -fiv -%ifarch sparc64 -export CC="gcc -m64" -%endif -export CFLAGS="%{optflags} -Wa,--noexecstack" %configure \ + --disable-static \ --disable-silent-rules \ - --enable-libgdbm-compat + --enable-libgdbm-compat \ + --enable-nls \ + --with-readline make %{?_smp_mflags} %check make check %{?_smp_mflags} %install -make %{?_smp_mflags} DESTDIR=%{buildroot} 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 -echo "/* GNU ld script - Use the shared library, but some functions are only in - the static library, so try that secondarily. */ -GROUP ( %{_libdir}/libgdbm.a %{_libdir}/libgdbm_compat.a )" > %{buildroot}/%{_libdir}/libndbm.a -mkdir -p %{buildroot}%{_datadir}/locale/zh_CN/LC_MESSAGES/ -cp -r %{SOURCE3} %{buildroot}%{_datadir}/locale/zh_CN/LC_MESSAGES/%{name}.mo -# do not ship these find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} %post devel -%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} %preun devel -%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} %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} -f %{name}.lang -%defattr(-,root,root) -%doc COPYING README NEWS -%{_libdir}/libgdbm.so.4 -%{_libdir}/libgdbm.so.4.0.0 -%{_libdir}/libgdbm_compat.so.4 -%{_libdir}/libgdbm_compat.so.4.0.0 +%files -n %{lname} +%license COPYING +%{_libdir}/libgdbm.so.* + +%files -n %{lcompat} +%license COPYING +%{_libdir}/libgdbm_compat.so.* %files devel -%defattr(-,root,root) +%doc README NEWS %{_bindir}/* %{_includedir}/dbm.h %{_includedir}/gdbm.h %{_includedir}/ndbm.h -%{_infodir}/gdbm.info%{ext_info} -%{_libdir}/libgdbm.a +%{_infodir}/gdbm.info%{?ext_info} %{_libdir}/libgdbm.so -%{_libdir}/libgdbm_compat.a %{_libdir}/libgdbm_compat.so -%{_libdir}/libndbm.a %{_libdir}/libndbm.so %{_mandir}/man1/*%{ext_man} -%{_mandir}/man3/gdbm.3%{ext_man} +%{_mandir}/man3/gdbm.3%{?ext_man} %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.gvGopR/_old 2018-05-20 17:19:14.109107461 +0200 +++ /var/tmp/diff_new_pack.gvGopR/_new 2018-05-20 17:19:14.109107461 +0200 @@ -1,5 +1,7 @@ libgdbm4 obsoletes "gdbm-<targettype> < <version>" +libgdbm_compat4 + conflicts "libgdbm3-<targettype>" gdbm-devel - requires -gdbm-<targettype> requires "libgdbm4-<targettype> = <version>" + requires "libgdbm_compat4-<targettype> = <version>" ++++++ gdbm-1.12.tar.gz -> gdbm-1.13.tar.gz ++++++ ++++ 32154 lines of diff (skipped) ++++++ gdbm-no-build-date.patch ++++++ --- /var/tmp/diff_new_pack.gvGopR/_old 2018-05-20 17:19:14.417096165 +0200 +++ /var/tmp/diff_new_pack.gvGopR/_new 2018-05-20 17:19:14.421096018 +0200 @@ -5,7 +5,7 @@ @@ -25,9 +25,6 @@ making the distdir. */ const char * gdbm_version = "GDBM version " PACKAGE_VERSION ". " - "16/05/2016" + "11/03/2017" -#if defined(__STDC__) && defined(__DATE__) && defined(__TIME__) - " (built " __DATE__ " " __TIME__ ")" -#endif
