Hello community, here is the log from the commit of package gdbm for openSUSE:Factory checked in at 2012-09-27 10:25:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdbm (Old) and /work/SRC/openSUSE:Factory/.gdbm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdbm", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/gdbm/gdbm.changes 2012-03-07 20:09:08.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gdbm.new/gdbm.changes 2012-09-27 10:25:02.000000000 +0200 @@ -1,0 +2,30 @@ +Mon Sep 24 07:44:41 UTC 2012 - [email protected] + +- update baselibs.conf + +------------------------------------------------------------------- +Sun Sep 23 07:43:08 UTC 2012 - [email protected] + +- update to 1.10 + * fully internationalized. available in Finnish + ,German, Japanese, Polish and Ukrainian + * Support for close-on-exec flag in gdbm_open (see GDBM_CLOEXEC in the docs) + * Improved testgdbm command system + * Fixed Bug #150, should handle read(2) returning less data + * Fixed Bug #151, uses uninitialized memory content + * Fixed handling of NDBM databases in read-only mode +- add zh_CN translation + * manually add. will submit to upstream. +- drop gdbm-1.8.3.diff (Patch0) + * seems this one is useless. +- regenerate and change gdbm-1.8.3-no-build-date.patch (Patch4) to + gdbm-no-build-date.patch + * its an universal solution no matter the version. +- drop gdbm-protoize_dbm_headers.patch (Patch1) + * upstream fixed. +- drop gdbm-prototype_static_functions.patch (Patch2) + * upstream fixed. +- drop gdbm-fix_testprogs.patch (Patch3) + * upstream code change. now useless. + +------------------------------------------------------------------- Old: ---- gdbm-1.8.3-no-build-date.patch gdbm-1.8.3.dif gdbm-1.8.3.tar.bz2 gdbm-fix_testprogs.patch gdbm-protoize_dbm_headers.patch gdbm-prototype_static_functions.patch New: ---- gdbm-1.10.tar.gz gdbm-no-build-date.patch zh_CN.gmo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdbm.spec ++++++ --- /var/tmp/diff_new_pack.XSefdJ/_old 2012-09-27 10:25:03.000000000 +0200 +++ /var/tmp/diff_new_pack.XSefdJ/_new 2012-09-27 10:25:03.000000000 +0200 @@ -17,7 +17,7 @@ Name: gdbm -%define lname libgdbm3 +%define lname libgdbm4 Url: http://directory.fsf.org/GNU/gdbm.html #!BuildIgnore: man # bug437293 @@ -25,20 +25,19 @@ Obsoletes: gdbm-64bit %endif # -Version: 1.8.3 +Version: 1.10 Release: 0 -Summary: GNU dbm key/data database License: GPL-2.0+ +Summary: GNU dbm key/data database Group: System/Libraries -Source: ftp://prep.ai.mit.edu/gnu/gdbm/gdbm-%{version}.tar.bz2 +Source: ftp://prep.ai.mit.edu/gnu/gdbm/gdbm-%{version}.tar.gz Source2: baselibs.conf -Patch: gdbm-%{version}.dif -Patch1: gdbm-protoize_dbm_headers.patch -Patch2: gdbm-prototype_static_functions.patch -Patch3: gdbm-fix_testprogs.patch -Patch4: gdbm-1.8.3-no-build-date.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +# ENHANCE-FOR-UPSTREM [email protected] - add zh_CN translation. And I'll submit it to upstream. +Source3: zh_CN.gmo +# FIX-FOR-UPSTREAM [email protected] - remove the build date from src/version.c +Patch4: gdbm-no-build-date.patch BuildRequires: libtool +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GNU dbm is a library of database functions that use extensible @@ -58,12 +57,12 @@ package also provides traditional dbm and ndbm interfaces. %package -n %lname -Summary: GNU dbm key/data database License: GPL-2.0+ +Summary: GNU dbm key/data database Group: System/Libraries # O/P added in 12.2 -Obsoletes: gdbm < %version-%release -Provides: gdbm = %version-%release +Obsoletes: gdbm < %{version}-%{release} +Provides: gdbm = %{version}-%{release} %description -n %lname GNU dbm is a library of database functions that use extensible @@ -83,12 +82,12 @@ package also provides traditional dbm and ndbm interfaces. %package devel -Summary: Include Files and Libraries mandatory for Development License: GPL-2.0+ ; LGPL-2.1+ +Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/C and C++ +Requires(pre): %install_info_prereq Requires: gdbm = %{version} Provides: gdbm:/usr/lib/libgdbm.so -PreReq: %install_info_prereq # bug437293 %ifarch ppc64 Obsoletes: gdbm-devel-64bit @@ -99,20 +98,9 @@ This package contains all necessary include files and libraries needed to develop applications that require these. - - -Authors: --------- - Jason Downs <[email protected]> - Phil Nelson <[email protected]> - %prep %setup -q -%patch -%patch1 -%patch2 -%patch3 -%patch4 +%patch4 -p1 %build aclocal @@ -120,46 +108,50 @@ %ifarch sparc64 export CC="gcc -m64" %endif -export CFLAGS="$RPM_OPT_FLAGS -Wa,--noexecstack" -%configure +export CFLAGS="%{optflags} -Wa,--noexecstack" +%configure --enable-libgdbm-compat make %{?_smp_mflags}; %install -make install INSTALL_ROOT=$RPM_BUILD_ROOT -make install-compat INSTALL_ROOT=$RPM_BUILD_ROOT +%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 )" > $RPM_BUILD_ROOT/%{_libdir}/libndbm.so +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 )" > $RPM_BUILD_ROOT/%{_libdir}/libndbm.a +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 +%find_lang %{name} %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig -%files -n %lname +%files -n %lname -f %{name}.lang %defattr(-,root,root) %doc COPYING README NEWS -%_libdir/libgdbm.so.3 -%_libdir/libgdbm.so.3.0.0 -%_libdir/libgdbm_compat.so.3 -%_libdir/libgdbm_compat.so.3.0.0 +%{_libdir}/libgdbm.so.4 +%{_libdir}/libgdbm.so.4.0.0 +%{_libdir}/libgdbm_compat.so.4 +%{_libdir}/libgdbm_compat.so.4.0.0 %files devel %defattr(-,root,root) -%{_prefix}/include/dbm.h -%{_prefix}/include/gdbm.h -%{_prefix}/include/ndbm.h +%{_bindir}/testgdbm +%{_includedir}/dbm.h +%{_includedir}/gdbm.h +%{_includedir}/ndbm.h %{_infodir}/gdbm.info.gz -%{_prefix}/%{_lib}/libgdbm.a -%{_prefix}/%{_lib}/libgdbm.so -%{_prefix}/%{_lib}/libgdbm_compat.a -%{_prefix}/%{_lib}/libgdbm_compat.so -%{_prefix}/%{_lib}/libndbm.a -%{_prefix}/%{_lib}/libndbm.so +%{_libdir}/libgdbm.a +%{_libdir}/libgdbm.so +%{_libdir}/libgdbm_compat.a +%{_libdir}/libgdbm_compat.so +%{_libdir}/libndbm.a +%{_libdir}/libndbm.so %{_mandir}/man3/gdbm.3.gz %exclude %{_libdir}/*.la ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.XSefdJ/_old 2012-09-27 10:25:03.000000000 +0200 +++ /var/tmp/diff_new_pack.XSefdJ/_new 2012-09-27 10:25:03.000000000 +0200 @@ -1,4 +1,4 @@ -libgdbm3 +libgdbm4 gdbm-devel requires -gdbm-<targettype> - requires "libgdbm3-<targettype> = <version>" + requires "libgdbm4-<targettype> = <version>" ++++++ gdbm-no-build-date.patch ++++++ diff -urN gdbm-1.10.orig/src/version.c gdbm-1.10/src/version.c --- gdbm-1.10.orig/src/version.c 2012-09-23 16:12:24.331788076 +0800 +++ gdbm-1.10/src/version.c 2012-09-23 16:24:17.517221527 +0800 @@ -24,11 +24,8 @@ The DIST_DATE magic below is replaced by the actual date when making the distdir. */ const char * gdbm_version = "GDBM version " PACKAGE_VERSION ". " -"13/11/2011" -#if defined(__STDC__) && defined(__DATE__) && defined(__TIME__) - " (built " __DATE__ " " __TIME__ ")" -#endif -; +"13/11/2011"; + int const gdbm_version_number[3] = { GDBM_VERSION_MAJOR, GDBM_VERSION_MINOR, -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
