diff --git a/helix.changes b/helix.changes index 18ea448..2009742 100644 --- a/helix.changes +++ b/helix.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 16 04:58:29 UTC 2023 - Soc Virnyl Estela + +- Addresses #bsc1211012. Issue with HELIX_RUNTIME + ------------------------------------------------------------------- Sun Apr 16 01:06:56 UTC 2023 - Soc Virnyl Estela diff --git a/helix.spec b/helix.spec index b1376ab..8eebe20 100644 --- a/helix.spec +++ b/helix.spec @@ -103,9 +103,11 @@ sed -i "s|hx|helix|g" contrib/Helix.desktop %install install -d -m 0755 %{buildroot}%{_bindir} -install -m 0755 target/release/hx %{buildroot}%{_bindir}/%{name} - install -d -m 0755 %{buildroot}%{_helix_runtimedir} + +install -m 0755 target/release/hx %{buildroot}%{_libdir}/%{name}/hx +ln -sfv --relative "%{_libdir}/%{name}/hx" "%{buildroot}%{_bindir}/helix" + cp -av "runtime/queries" %{buildroot}%{_helix_runtimedir} cp -av "runtime/themes" %{buildroot}%{_helix_runtimedir} find "%{_builddir}/%{name}-%{version}/runtime/grammars" -type f -name '*.so' -exec \ @@ -142,6 +144,9 @@ install -Dm644 -T %{_builddir}/%{name}-%{version}/contrib/completion/hx.zsh %{bu %dir %{_helix_runtimedir} %{_helix_runtimedir}/tutor +# Executable +%{_libdir}/%{name}/hx + %files runtime # Runtimes and runtime files # Grammars