Accepting request 530845 from network:samba:STABLE
1 OBS-URL: https://build.opensuse.org/request/show/530845 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=32
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1
|
||||
|
||||
iQEcBAABAgAGBQJYQCIEAAoJEEeTkWETCEAlraoH/RHRJmDseFcJrQCiW7xS0f+S
|
||||
KaHdehY95vY+jVZrrMvmBp36NHHZheeY96zba71vaTVoHTcQgFQ96zJWiW/+xsBf
|
||||
8JY2UtIddQzBMrqXyymSw7TQQWVi2qlSnrEzZrudwC92DTSnYR+peGMozuyCR5m+
|
||||
ocfLBBHvq63Mi+0voL16Pj8oVVR04IcKWRCPEQZr9cRgOVC/ASB3spHeoXssW0l+
|
||||
2tDKoV+OZAdhJ8VGVa2akv59iiPEMYVMratBn1iOX0MygWYI02Ft/j03mwaKFx3R
|
||||
6ykNgDAMwbkaEqUTHn4rXmHA04CJvbbcQODg6vBkf2N5y3lXqByy4V4VePGDVsc=
|
||||
=DLhf
|
||||
-----END PGP SIGNATURE-----
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:60134e32253cac8e2efe5e0185d20123c208bcf6ad15edf2f50d80daadf8c348
|
||||
size 495520
|
11
tdb-1.3.15.tar.asc
Normal file
11
tdb-1.3.15.tar.asc
Normal file
@@ -0,0 +1,11 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1
|
||||
|
||||
iQEcBAABAgAGBQJZoWA4AAoJEEeTkWETCEAlX4YIAKx5DgZnnpf8+ELzoO7vHjVX
|
||||
9t9HsAZopZBvRh57auf7EgJnNQFC9U5sjdfuYe4W57vuRBxksyvwxtmBPXKhM4EI
|
||||
pJqv1V45prR1MiB52AusaCxfVr53DpgdPRZYmnbN6ZY6JY/QGQ4V4ADLqjF1+l+X
|
||||
IQElyY45AXufUNbu/DlNjZNNvSSL2D/fag+63NMzbi5WMgtWUlGXhEGBCS7/K26i
|
||||
B4sr3tgIqKrNaywU9St5eWsddwJ5ie5cgmN9fqPaLI0DR6ldWAjlTpy8ev6m7k/X
|
||||
0FQNa3tIK0npDp9GunfFVLQVq04cfkioBKYtBVGix5Yly45UJe7L7lW8WijLAPw=
|
||||
=hD6g
|
||||
-----END PGP SIGNATURE-----
|
3
tdb-1.3.15.tar.gz
Normal file
3
tdb-1.3.15.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b4a1bf3833601bd9f10aff363cb750860aef9ce5b4617989239923192f946728
|
||||
size 502627
|
36
tdb.changes
36
tdb.changes
@@ -1,3 +1,39 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 2 12:18:30 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- 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 - scabrero@suse.com
|
||||
|
||||
- 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 - scabrero@suse.com
|
||||
|
||||
- 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 - scabrero@suse.com
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 24 16:58:23 UTC 2017 - ddiss@suse.com
|
||||
|
||||
|
101
tdb.spec
101
tdb.spec
@@ -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 @@ Patch1: build_pie.patch
|
||||
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 @@ This package contains the tdb1 library.
|
||||
%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 @@ Summary: Tools to manipulate tdb files
|
||||
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 @@ This package contains tools to manage Tdb files.
|
||||
%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 @@ This package contains the python3 bindings for the Tdb library.
|
||||
%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 @@ CONFIGURE_OPTIONS="\
|
||||
%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/
|
||||
mkdir -p %{buildroot}/%{_mandir}/man3/
|
||||
cp -a docs/man/man3/tdb.3 %{buildroot}/%{_mandir}/man3/
|
||||
|
||||
%post -n %{libtdb_name} -p /sbin/ldconfig
|
||||
%post -n libtdb1 -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{libtdb_name} -p /sbin/ldconfig
|
||||
%postun -n libtdb1 -p /sbin/ldconfig
|
||||
|
||||
%post -n python-tdb -p /sbin/ldconfig
|
||||
|
||||
%postun -n python-tdb -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 @@ cp -a docs/man/man3/tdb.3 $RPM_BUILD_ROOT/%{_mandir}/man3/
|
||||
%{_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)
|
||||
|
Reference in New Issue
Block a user