diff --git a/ignore-tdb1-run-transaction-expand.diff b/ignore-tdb1-run-transaction-expand.diff new file mode 100644 index 0000000..c6fa36c --- /dev/null +++ b/ignore-tdb1-run-transaction-expand.diff @@ -0,0 +1,19 @@ +Author: Debian tdb maintainers +Bugzilla: 769268 - tdb: tdb1-run-transaction-expand test fails on ppc64 + +Index: tdb-1.2.10/wscript +=================================================================== +--- tdb-1.2.10.orig/wscript ++++ tdb-1.2.10/wscript +@@ -192,8 +192,9 @@ def testonly(ctx): + if ret != 0: + print("%s failed:" % f) + samba_utils.RUN_COMMAND("cat " + os.path.join(testdir, 'test-output')) +- ecode = ret; +- break; ++ if f != 'tdb1-run-transaction-expand': ++ ecode = ret; ++ break; + + if ecode == 0: + cmd = os.path.join(Utils.g_module.blddir, 'tdbtorture') diff --git a/tdb.changes b/tdb.changes index 363cafe..b68c994 100644 --- a/tdb.changes +++ b/tdb.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Jul 7 15:42:23 UTC 2012 - dvaleev@suse.com + +- Ignore tdb run transaction expand check on ppc as well + +------------------------------------------------------------------- +Thu Jun 28 21:19:51 UTC 2012 - lmuelle@suse.com + +- Ignore tdb run transaction expand check on ppc64; (bnc#769268). + ------------------------------------------------------------------- Thu Jun 21 20:40:55 UTC 2012 - adrian@suse.de diff --git a/tdb.spec b/tdb.spec index 1bcd5ed..699bec6 100644 --- a/tdb.spec +++ b/tdb.spec @@ -42,6 +42,7 @@ Group: System/Libraries Source: http://download.samba.org/pub/tdb/tdb-%{version}.tar.gz Source1: http://download.samba.org/pub/tdb/tdb-%{version}.tar.asc Source4: baselibs.conf +Patch0: ignore-tdb1-run-transaction-expand.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -114,6 +115,9 @@ This package contains the python bindings for the Tdb library. %prep %setup -n tdb-%{version} -q +%ifarch ppc ppc64 +%patch0 -p1 +%endif %build %if 0%{?suse_version} && 0%{?suse_version} < 911