From cebb21d5e80648a6dab959bac5932276d6d11445e85cc03b5fb24f170c4e415e Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Tue, 16 May 2023 07:06:16 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=64 --- helix.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/helix.spec b/helix.spec index 4e67ea2..357ce53 100644 --- a/helix.spec +++ b/helix.spec @@ -103,10 +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}%{_libdir}/%{name}/hx -ln -sfv --relative %{_libdir}/%{name}/hx "%{buildroot}%{_bindir}/helix" - 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 \