diff --git a/06033c19cdff0abf4849ecc96e3ce0b0690fcd13.diff b/06033c19cdff0abf4849ecc96e3ce0b0690fcd13.diff new file mode 100644 index 0000000..fd140d8 --- /dev/null +++ b/06033c19cdff0abf4849ecc96e3ce0b0690fcd13.diff @@ -0,0 +1,13 @@ +diff --git a/libgnucash/core-utils/binreloc.c b/libgnucash/core-utils/binreloc.c +index 6eab8907c5..2e2067e383 100644 +--- a/libgnucash/core-utils/binreloc.c ++++ b/libgnucash/core-utils/binreloc.c +@@ -475,7 +475,7 @@ find_component_directory (const gchar *default_dir, const gchar* compiled_dir) + prefix = gnc_gbr_find_prefix (NULL); + if (prefix == NULL) + return g_strdup (default_dir ? default_dir : compiled_dir); +- if (!g_getenv("GNC_UNINSTALLE")) ++ if (!g_getenv("GNC_UNINSTALLED")) + { + if (!g_strcmp0 (prefix, PREFIX)) + return g_strdup (compiled_dir); diff --git a/e1b014035753beb111388c8468460b0c61d816bc.diff b/e1b014035753beb111388c8468460b0c61d816bc.diff new file mode 100644 index 0000000..550bd5e --- /dev/null +++ b/e1b014035753beb111388c8468460b0c61d816bc.diff @@ -0,0 +1,21 @@ +diff --git a/bindings/python/tests/CMakeLists.txt b/bindings/python/tests/CMakeLists.txt +index 4e68d6d211..dca317de43 100644 +--- a/bindings/python/tests/CMakeLists.txt ++++ b/bindings/python/tests/CMakeLists.txt +@@ -5,7 +5,7 @@ if (WITH_PYTHON) + # Because it hasn't been built yet + set(test_core_dir ${CMAKE_BINARY_DIR}/common/test-core) + endif() +- add_custom_target(test-python-bindings ALL DEPENDS unittest_support gnucash-core-c-build gnucash-core-c-py swig-app-utils-python) ++ add_custom_target(test-python-bindings ALL DEPENDS unittest_support gnucash-core-c-build gnucash-core-c-py sw_app_utils) + add_dependencies(check test-python-bindings) + add_test(python-bindings ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/runTests.py.in) + set_property(TEST python-bindings PROPERTY ENVIRONMENT +@@ -21,6 +21,7 @@ set(test_python_bindings_DATA + test_business.py + test_commodity.py + test_numeric.py ++ test_session.py + test_split.py + test_transaction.py + test_query.py) diff --git a/gnucash.spec b/gnucash.spec index 47eed0f..dac9b6f 100644 --- a/gnucash.spec +++ b/gnucash.spec @@ -8,6 +8,10 @@ Source: http://downloads.sourceforge.net/sourceforge/gnucash/gnucash-%{version}. Patch0: gnucash-glib-warnings.patch Patch1: gnucash-odr.patch +# upstream git fixes +Patch100: 06033c19cdff0abf4849ecc96e3ce0b0690fcd13.diff +Patch101: e1b014035753beb111388c8468460b0c61d816bc.diff + # https://bugzilla.redhat.com/show_bug.cgi?id=1563466 ExcludeArch: ppc64 s390x