From bec5d77398ef6308d14090437a4d95c911bfce10 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 6 Nov 2019 11:03:44 +0100 Subject: [PATCH] Work around python byte compilation not working for /app --- libgexiv2.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libgexiv2.spec b/libgexiv2.spec index d00a935..9cf5cd0 100644 --- a/libgexiv2.spec +++ b/libgexiv2.spec @@ -49,6 +49,10 @@ This package contains the python3 bindings for %{name} %install %meson_install +# Explicitly byte compile as the automagic byte compilation doesn't work for +# /app prefix in flatpak builds +%py_byte_compile %{__python3} %{buildroot}%{python3_sitearch}/gi/overrides + %check %meson_test