rhbz#1683185 - libtdb-1.3.18 is available

This commit is contained in:
Lukas Slebodnik 2019-02-26 23:44:07 +01:00
parent 605656e163
commit c7c60b082e
4 changed files with 14 additions and 9 deletions

1
.gitignore vendored
View File

@ -20,3 +20,4 @@
/tdb-1.3.15.tar.gz
/tdb-1.3.16.tar.gz
/tdb-1.3.17.tar.gz
/tdb-1.3.18.tar.gz

View File

@ -1,9 +1,10 @@
From 4b2829af05e4a1ebf2ba29d84cb43245e1577dd5 Mon Sep 17 00:00:00 2001
From de630eb61fd2321eae5fe73ecc56ab283fc66d5d Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn@fedoraproject.org>
Date: Thu, 17 Jan 2019 21:03:15 +0100
Subject: [PATCH] Fix detection of HAVE_LARGEFILE with python2
Date: Fri, 18 Jan 2019 16:36:52 +0100
Subject: [PATCH] wafsamba: Fix detection of HAVE_LARGEFILE with python2
There is an assertion if "getconf LFS_CFLAGS" does not return empty string.
It failed becase we had `unicode` and not `str`.
File "/builddir/build/BUILD/talloc-2.1.15/third_party/waf/waflib/Scripting.py", line 158, in waf_entry_point
run_commands()
@ -59,7 +60,7 @@ Signed-off-by: Lukas Slebodnik <lslebodn@fedoraproject.org>
1 file changed, 1 insertion(+)
diff --git a/buildtools/wafsamba/samba_conftests.py b/buildtools/wafsamba/samba_conftests.py
index c0b9ae4929649692c9870edf28e8e0aa94fca113..af3b82e25f1366b74f57659978e272a075588447 100644
index ef632ba903369e4211991f17a3b204bcd96c3a2f..2390bd8aff416cbc313cd249cd7c6fa6b0e85a34 100644
--- a/buildtools/wafsamba/samba_conftests.py
+++ b/buildtools/wafsamba/samba_conftests.py
@@ -86,6 +86,7 @@ def CHECK_LARGEFILE(conf, define='HAVE_LARGEFILE'):
@ -67,9 +68,9 @@ index c0b9ae4929649692c9870edf28e8e0aa94fca113..af3b82e25f1366b74f57659978e272a0
getconf_cflags = conf.CHECK_COMMAND(['getconf', 'LFS_CFLAGS']);
if getconf_cflags is not False:
+ getconf_cflags = str(getconf_cflags)
if (conf.CHECK_CODE('return !(sizeof(off_t) >= 8)',
if (conf.CHECK_CODE('if (sizeof(off_t) < 8) return 1',
define='WORKING_GETCONF_LFS_CFLAGS',
execute=True,
--
2.20.1
2.21.0.rc1

View File

@ -17,8 +17,8 @@
%endif
Name: libtdb
Version: 1.3.17
Release: 2%{?dist}
Version: 1.3.18
Release: 1%{?dist}
Summary: The tdb library
License: LGPLv3+
URL: http://tdb.samba.org/
@ -135,6 +135,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
%ldconfig_scriptlets
%changelog
* Tue Feb 26 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 1.3.18-1
- rhbz#1683185 - libtdb-1.3.18 is available
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (tdb-1.3.17.tar.gz) = ef25dad520a12d75e541802a46e418fe61ac691126600f24158cd5b95091b4c536ffc4d4aff6608cca087291fde0b86b44ff7b1a7837d816cd534e9688c39eff
SHA512 (tdb-1.3.18.tar.gz) = 9b856b2a5b2d852ff0048ba7b1700ea46b8dad5d4e94027472fdce9f1db4b5afba9aec127b7a4c2a38d4722c8e0ea78c1734d102fa134ac802eace6b24358034