New upstream release 1.3.3

This commit is contained in:
Jakub Hrozek 2014-12-05 12:30:02 +01:00
parent 6088abd45f
commit 7e9f9f8e23
4 changed files with 6 additions and 33 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
/tdb-1.2.13.tar.gz
/tdb-1.3.0.tar.gz
/tdb-1.3.1.tar.gz
/tdb-1.3.3.tar.gz

View File

@ -1,27 +0,0 @@
From 4e14a437963ba54987cd58b4e0705d9a6d8aea6f Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com>
Date: Fri, 23 May 2014 10:08:14 -0700
Subject: [PATCH] tdb/include: include stdbool.h in tdb.h
Commit db5bda56bf08 (tdb: add TDB_MUTEX_LOCKING support) adds a bool, but does
not include stdbool.h. This causes any build including tdb.h to fail, at least
for me with GCC 4.9.0.
---
lib/tdb/include/tdb.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/tdb.h b/include/tdb.h
index 5ea5e60..03e429c 100644
--- a/include/tdb.h
+++ b/include/tdb.h
@@ -31,6 +31,7 @@ extern "C" {
#endif
#include <signal.h>
+#include <stdbool.h>
/**
* @defgroup tdb The tdb API
--
1.9.3

View File

@ -5,16 +5,13 @@
%{!?python_version: %global python_version %(%{__python} -c "from distutils.sysconfig import get_python_version; print(get_python_version())")}
Name: libtdb
Version: 1.3.1
Version: 1.3.3
Release: 1%{?dist}
Group: System Environment/Daemons
Summary: The tdb library
License: LGPLv3+
URL: http://tdb.samba.org/
Source: http://samba.org/ftp/tdb/tdb-%{version}.tar.gz
# Fix missed include preventing builds against libtdb
# https://bugzilla.samba.org/show_bug.cgi?id=10625
Patch0: 0001-tdb-include-include-stdbool.h-in-tdb.h.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: autoconf
@ -56,7 +53,6 @@ Python bindings for libtdb
%prep
%setup -q -n tdb-%{version}
%patch0 -p1
%build
%configure --disable-rpath \
@ -113,6 +109,9 @@ rm -rf $RPM_BUILD_ROOT
%postun -n python-tdb -p /sbin/ldconfig
%changelog
* Fri Dec 5 2014 Jakub Hrozek <jhrozek@redhat.com> - 1.3.3-1
- New upstream release 1.3.3
* Thu Sep 18 2014 Jakub Hrozek <jhrozek@redhat.com> - 1.3.1-1
- New upstream release 1.3.1

View File

@ -1 +1 @@
f597190451d976fe013dfae9934fb9ad tdb-1.3.1.tar.gz
f619f83c2c0060d87339d21e9e608c8e tdb-1.3.3.tar.gz