#7 Disable pre-compiling of gsettings schemas
Opened 2 years ago by sdcgear. Modified 2 years ago
rpms/ sdcgear/gnucash rawhide  into  rawhide

file modified
+5 -2
@@ -2,7 +2,7 @@ 

  Summary: Finance management application

  Version: 4.4

  URL: http://gnucash.org/

- Release: 2%{?dist}

+ Release: 3%{?dist}

  License: GPLv2+

  Source: https://downloads.sourceforge.net/sourceforge/gnucash/gnucash-%{version}.tar.bz2

  # https://bugs.gnucash.org/show_bug.cgi?id=798101
@@ -56,7 +56,7 @@ 

  %build

  # thanks gcc8

  %global optflags %{optflags} -Wno-parentheses

- %cmake -D WITH_PYTHON=ON .

+ %cmake -D WITH_PYTHON=ON -D COMPILE_GSCHEMAS=OFF .

  %cmake_build

  

  %install
@@ -102,6 +102,9 @@ 

  %config(noreplace) %{_sysconfdir}/gnucash/*

  

  %changelog

+ * Thu Apr  8 2021 Anders Lind <smitna@gmail.com> - 4.4-3

+ - Disable pre-compiling of gsettings schemas.

+ 

  * Sat Feb 13 2021 Bill Nottingham <notting@splat.cc> - 4.4-2

  - fix build with glib 2.67.3+ (#1927622)

  

IIUC, RPM triggers exist (at least in Fedora) that compile gsettings schemas automatically at install time. This change allows installation on ostree-based systems.

See also:
https://bugzilla.redhat.com/show_bug.cgi?id=1903422

Metadata