Soc Virnyl Estela 2022-12-07 12:04:22 +00:00 committed by Git OBS Bridge
parent 225b1ae015
commit ad4ccee5c6

View File

@ -103,7 +103,7 @@ cp -rv "runtime/queries" %{buildroot}%{_helix_runtimedir}
cp -rv "runtime/themes" %{buildroot}%{_helix_runtimedir} cp -rv "runtime/themes" %{buildroot}%{_helix_runtimedir}
find "%{_builddir}/%{name}-%{version}/runtime/grammars" -type f -name '*.so' -exec \ find "%{_builddir}/%{name}-%{version}/runtime/grammars" -type f -name '*.so' -exec \
install --verbose -Dm 755 {} -t "%{buildroot}%{_helix_runtimedir}/grammars" \; install --verbose -Dm 755 {} -t "%{buildroot}%{_helix_runtimedir}/grammars" \;
install -Dm644 runtime/tutor.txt -t %{buildroot}%{_helix_runtimedir} install -Dm644 runtime/tutor -t %{buildroot}%{_helix_runtimedir}
ln -sv %{_helix_runtimedir} %{buildroot}%{_libdir}/%{name}/runtime ln -sv %{_helix_runtimedir} %{buildroot}%{_libdir}/%{name}/runtime
install -D -d -m 0755 %{buildroot}%{_bindir} install -D -d -m 0755 %{buildroot}%{_bindir}
ln -sv %{_libdir}/%{name}/hx %{buildroot}%{_bindir}/%{name} ln -sv %{_libdir}/%{name}/hx %{buildroot}%{_bindir}/%{name}
@ -136,7 +136,7 @@ install -Dm644 -T %{_builddir}/%{name}-%{version}/contrib/completion/hx.zsh %{bu
%{_libdir}/%{name}/hx %{_libdir}/%{name}/hx
# Tutor # Tutor
%{_helix_runtimedir}/tutor.txt %{_helix_runtimedir}/tutor
%files runtime %files runtime
# Runtimes and runtime files # Runtimes and runtime files