From 89095776bbd0cd3486563c068c4c647c05b8aefc Mon Sep 17 00:00:00 2001 From: Lukas Javorsky Date: Wed, 9 Jun 2021 11:53:14 +0200 Subject: [PATCH] Fix the failing wsrep test issued in the BZ#1959484 --- galera.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/galera.spec b/galera.spec index 0974f2e..504e737 100644 --- a/galera.spec +++ b/galera.spec @@ -34,6 +34,14 @@ replication engine see http://www.codership.com. %setup -q %patch0 -p1 +# Fix for BZ#1959484 +# The script is checking the version without the wsrep API number (the first number separated by dot) +# This could be caused by wrongly providing the version from wsrep_load function +# Issue is already reported here: https://github.com/codership/galera/issues/596 +# So we can temporary remove API version from the test to make it work, however, we will wait for the upstream's +# solution in the issue linked above +sed -i '/^GALERA_VER/s/API + //' wsrep/tests/SConscript + %build %{set_build_flags}