Hello community, here is the log from the commit of package tdb for openSUSE:Factory checked in at 2017-10-25 17:46:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tdb (Old) and /work/SRC/openSUSE:Factory/.tdb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tdb" Wed Oct 25 17:46:07 2017 rev:32 rq:530845 version:1.3.15 Changes: -------- --- /work/SRC/openSUSE:Factory/tdb/tdb.changes 2017-04-17 10:22:08.305671692 +0200 +++ /work/SRC/openSUSE:Factory/.tdb.new/tdb.changes 2017-10-25 17:46:09.723242891 +0200 @@ -1,0 +2,36 @@ +Mon Oct 2 12:18:30 UTC 2017 - [email protected] + +- Remove %if guards for blocks that do not affect the build result. + Fix RPM groups and summaries. Ensure neutrality of descriptions. + Drop very old SUSE support. Replace old RPM macros by new + constructs. Remove some useless ldconfig calls. + +------------------------------------------------------------------- +Mon Sep 25 11:14:05 UTC 2017 - [email protected] + +- Update to 1.3.15. + + Add protection against EINTR. + + Truncate the file after expand failure, ENOSPC + + Use posix_fallocate() to expand the file + + Fix GCC compiler warnings + +------------------------------------------------------------------- +Wed Jul 5 08:59:08 UTC 2017 - [email protected] + +- Update to version 1.3.14. + + allow tdb_traverse_read before tdb_transaction[_prepare]_commit() + + Improve documentation for tdb_transaction_start() + + Add new function tdb_transaction_active() + +------------------------------------------------------------------- +Fri Jun 30 11:42:43 UTC 2017 - [email protected] + +- Update to version 1.3.13. + + documentation for the tdbbackup -n option + + correctly upgrade F_RDLCK to F_WRLCK locks + + tdbtool: Add "storehex" command + + fix robust mutex detection in threaded applications + (bug #12593) + + improve debugging of transaction lock failures + +------------------------------------------------------------------- Old: ---- tdb-1.3.12.tar.asc tdb-1.3.12.tar.gz New: ---- tdb-1.3.15.tar.asc tdb-1.3.15.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tdb.spec ++++++ --- /var/tmp/diff_new_pack.iHixd6/_old 2017-10-25 17:46:10.463208162 +0200 +++ /var/tmp/diff_new_pack.iHixd6/_new 2017-10-25 17:46:10.467207974 +0200 @@ -25,30 +25,21 @@ %endif Name: tdb -%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140 -%define build_make_smp_mflags %{?_smp_mflags} -%else -%define build_make_smp_mflags %{?jobs:-j%jobs} -%endif BuildRequires: autoconf BuildRequires: docbook-xsl-stylesheets BuildRequires: doxygen BuildRequires: libxslt -%if 0%{?suse_version} > 1020 BuildRequires: pkg-config -%else -BuildRequires: pkgconfig -%endif BuildRequires: python-devel %if %{with_python3} BuildRequires: python3-devel %endif Url: https://tdb.samba.org/ -Version: 1.3.12 +Version: 1.3.15 Release: 0 Summary: Samba Trivial Database License: GPL-3.0+ -Group: System/Libraries +Group: Development/Libraries/C and C++ Source: https://download.samba.org/pub/tdb/tdb-%{version}.tar.gz Source1: https://download.samba.org/pub/tdb/tdb-%{version}.tar.asc Source2: tdb.keyring @@ -58,27 +49,18 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB +TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB, except that it allows multiple simultaneous writers and uses locking -internally to keep writers from trampling on each other. TDB is also extremely -small. - +internally to keep writers from trampling on each other. -%if 0%{?suse_version} > 0 -%define libtdb_name libtdb1 -%else -%define libtdb_name libtdb -%endif -%package -n %{libtdb_name} -Summary: Libraries and Header Files to Develop Programs with tdb1 Support +%package -n libtdb1 +Summary: Samba Trivial Database Group: System/Libraries -PreReq: /sbin/ldconfig -%description -n %{libtdb_name} -TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB +%description -n libtdb1 +TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB, except that it allows multiple simultaneous writers and uses locking -internally to keep writers from trampling on each other. TDB is also extremely -small. +internally to keep writers from trampling on each other. This package contains the tdb1 library. @@ -86,18 +68,13 @@ %package -n libtdb-devel Summary: Libraries and Header Files to Develop Programs with tdb1 Support Group: Development/Libraries/C and C++ -Requires: %{libtdb_name} = %{version} -%if 0%{?suse_version} > 1020 +Requires: libtdb1 = %{version} Requires: pkg-config -%else -Requires: pkgconfig -%endif %description -n libtdb-devel -TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB +TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB, except that it allows multiple simultaneous writers and uses locking -internally to keep writers from trampling on each other. TDB is also extremely -small. +internally to keep writers from trampling on each other. This package contains libraries and header files need for development. @@ -107,10 +84,9 @@ Group: Development/Libraries/C and C++ %description -n tdb-tools -TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB +TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB, except that it allows multiple simultaneous writers and uses locking -internally to keep writers from trampling on each other. TDB is also extremely -small. +internally to keep writers from trampling on each other. This package contains tools to manage Tdb files. @@ -118,25 +94,20 @@ %package -n python-tdb Summary: Python bindings for the Tdb library Group: Development/Libraries/Python -Requires: %{libtdb_name} = %{version} +Requires: libtdb1 = %{version} Conflicts: python3-tdb -PreReq: /sbin/ldconfig %description -n python-tdb -This package contains the python bindings for the Tdb library. - +This package contains the Python bindings for the Tdb library. -%if %{with_python3} %package -n python3-tdb Summary: Python3 bindings for the Tdb library Group: Development/Libraries/Python -Requires: %{libtdb_name} = %{version} +Requires: libtdb1 = %{version} Conflicts: python-tdb -PreReq: /sbin/ldconfig %description -n python3-tdb -This package contains the python3 bindings for the Tdb library. -%endif +This package contains the Python3 bindings for the Tdb library. %prep %setup -n tdb-%{version} -q @@ -146,13 +117,7 @@ %patch1 -p1 %build -%if 0%{?suse_version} && 0%{?suse_version} < 911 - OPTIMIZATION="-O" -%else - # use the default optimization - unset OPTIMIZATION -%endif -export CFLAGS="${RPM_OPT_FLAGS} -D_GNU_SOURCE ${OPTIMIZATION} -D_LARGEFILE64_SOURCE -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS" +export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS" CONFIGURE_OPTIONS="\ --prefix=%{_prefix} \ --libdir=%{_libdir} \ @@ -165,36 +130,26 @@ %endif " ./configure ${CONFIGURE_OPTIONS} -%{__make} %{build_make_smp_mflags} \ +make %{?_smp_mflags} \ all doxygen doxy.config %check %if 0%{!?qemu_user_space_build:1} -%{__make} test +make test %endif %install -DESTDIR=${RPM_BUILD_ROOT} make install +%make_install # Install API documentation -mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3/ -cp -a docs/man/man3/tdb.3 $RPM_BUILD_ROOT/%{_mandir}/man3/ - -%post -n %{libtdb_name} -p /sbin/ldconfig - -%postun -n %{libtdb_name} -p /sbin/ldconfig +mkdir -p %{buildroot}/%{_mandir}/man3/ +cp -a docs/man/man3/tdb.3 %{buildroot}/%{_mandir}/man3/ -%post -n python-tdb -p /sbin/ldconfig +%post -n libtdb1 -p /sbin/ldconfig -%postun -n python-tdb -p /sbin/ldconfig +%postun -n libtdb1 -p /sbin/ldconfig -%if %{with_python3} -%post -n python3-tdb -p /sbin/ldconfig - -%postun -n python3-tdb -p /sbin/ldconfig -%endif - -%files -n %{libtdb_name} +%files -n libtdb1 %defattr(-,root,root) %{_libdir}/libtdb.so.* @@ -211,12 +166,10 @@ %{_bindir}/tdbdump %{_bindir}/tdbrestore %{_bindir}/tdbtool -%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1100 %{_mandir}/man8/tdbbackup.8* %{_mandir}/man8/tdbdump.8* %{_mandir}/man8/tdbrestore.8* %{_mandir}/man8/tdbtool.8* -%endif %files -n python-tdb %defattr(-,root,root) ++++++ tdb-1.3.12.tar.gz -> tdb-1.3.15.tar.gz ++++++ ++++ 2943 lines of diff (skipped)
