2 Commits

7 changed files with 38 additions and 16 deletions

13
config-sitearch.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: tdb-1.4.14/wscript
===================================================================
--- tdb-1.4.14.orig/wscript
+++ tdb-1.4.14/wscript
@@ -68,6 +68,8 @@ def options(opt):
help=("Disable the use of pthread robust mutexes"),
action="store_true", dest='disable_tdb_mutex_locking',
default=False)
+ opt.load('python') # options for disabling pyc or pyo compilation
+ # enable options related to building python extensions
def configure(conf):

View File

@@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmekrNMACgkQR5ORYRMI
QCV8qgf+IDN3K+XexNRqEC8snVPqOVN2kpKz54dNHGbLaRG3NcdJ9Kd40J+c9b8R
2fHVwFQu5hoiUKBAExASv+K9IUuXGFzVT9jPjkBegDZDVl8uVnbh35FCx1HwQxlw
XRLeIZ6fKBnBrjT63ZPVEMRyO4+KrBE08UGOvc7z5Xz0RxPI6fV7vKko2FZ0d8JS
WDrROlkP1fuRVEgADd22sYFAL//4/22r96Bj3OAkyNm3oIquaK4TIsaS5nF2OCl2
W8CdgTTpc0TGnWFvI1yeDf72UT3OnM2HkJZIWi71LTXY6YxxqmUkRxGKe/uLF1q8
H5F5nXzlJIPhlhLn+Xtrl4/y/lzhvw==
=Xx0g
-----END PGP SIGNATURE-----

Binary file not shown.

11
tdb-1.4.14.tar.asc Normal file
View File

@@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmiUwS4ACgkQR5ORYRMI
QCVlIQf9HpN5NZ4rLGTdRt4MIXVp0o8ACSJIksx8ZpG/c7MqIVUMxxVEJm96/WTB
L0pFXD369aB2GDK6pjHPElYBQnX8MyzHt08YPNI6Q+HJn0aJXQPq87GyVeSMEbQ7
hOJ9ZkZysQ7EHHbZL+U+/K/m25aaXt5FLKpF5JzPyS8T+3XxyLRlGIKLj0CVHpLd
FyTEFFx9Sxs/cXwl8Zfmd5a4pAT++rqv7sIjMAr9B4Jloyj+tqA7olqIHa/+rZLi
GShf7brINEGK+b7syQ6k0g6LMAtYQaFO/+RqJszAGdn+rQ9wlpP0HobOK69HF5wB
IPoK647Qo+pw8idz9ZqP5d669CgFHg==
=VGo5
-----END PGP SIGNATURE-----

3
tdb-1.4.14.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Oct 16 11:17:53 UTC 2025 - Noel Power <nopower@suse.com>
- Add config-sitearch.patch
- Update to 1.4.14
* let tdbtool return error on failure; (bso#15890).
-------------------------------------------------------------------
Wed Mar 12 15:21:07 UTC 2025 - Samuel Cabrero <scabrero@suse.de>

View File

@@ -19,7 +19,7 @@
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?py3_soflags: %global py3_soflags cpython-%{python3_version_nodots}m}
Name: tdb
Version: 1.4.13
Version: 1.4.14
Release: 0
Summary: Samba Trivial Database
License: LGPL-3.0-or-later
@@ -30,6 +30,7 @@ Source1: https://download.samba.org/pub/tdb/tdb-%{version}.tar.asc
Source2: tdb.keyring
Source4: baselibs.conf
Patch0: build_pie.patch
Patch1: config-sitearch.patch
BuildRequires: autoconf
BuildRequires: docbook-xsl-stylesheets
BuildRequires: doxygen
@@ -97,7 +98,8 @@ export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DIDMAP_RID_SUPPO
--disable-rpath \
--disable-rpath-install \
--disable-silent-rules \
--bundled-libraries=NONE
--bundled-libraries=NONE \
--pythonarchdir=%{python3_sitearch}
%make_build all
doxygen doxy.config