SHA256
1
0
forked from pool/helix

Accepting request 1087343 from editors

This fixes #bsc1211012

OBS-URL: https://build.opensuse.org/request/show/1087343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helix?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2023-05-16 12:16:46 +00:00 committed by Git OBS Bridge
commit 9dc0afb281
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 16 04:58:29 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Addresses #bsc1211012. Issue with HELIX_RUNTIME
-------------------------------------------------------------------
Sun Apr 16 01:06:56 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>

View File

@ -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