diff --git a/vte291.spec b/vte291.spec index f01101a..aa8ec0a 100644 --- a/vte291.spec +++ b/vte291.spec @@ -84,6 +84,10 @@ emulator library. %prep %setup -q -n vte-%{version} %patch100 -p1 -b .cntnr-precmd-preexec-scroll +%if 0%{?flatpak} +# Install user units where systemd macros expect them +sed -i -e "/^vte_systemduserunitdir =/s|vte_prefix|'/usr'|" meson.build +%endif %build # Avoid overriding vte's own -fno-exceptions