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