From a08904cd851271eb8254c67d141de2264861958af3b4649f1849a0cf346714d2 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Sun, 16 Apr 2023 01:08:44 +0000 Subject: [PATCH] - Removed preinstall hook. Not needed since we added version in line with the helix binary. OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=60 --- helix.changes | 6 ++++++ helix.spec | 8 ++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/helix.changes b/helix.changes index b845042..18ea448 100644 --- a/helix.changes +++ b/helix.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Apr 16 01:06:56 UTC 2023 - Soc Virnyl Estela + +- Removed preinstall hook. Not needed since we added version + in line with the helix binary. + ------------------------------------------------------------------- Thu Apr 6 13:27:49 UTC 2023 - Soc Virnyl Estela diff --git a/helix.spec b/helix.spec index 964b092..b1376ab 100644 --- a/helix.spec +++ b/helix.spec @@ -39,7 +39,7 @@ BuildRequires: c_compiler BuildRequires: cargo-packaging BuildRequires: hicolor-icon-theme BuildRequires: update-desktop-files -Recommends: %{name}-runtime +Recommends: %{name}-runtime = %{version} ExclusiveArch: %{rust_arches} %description @@ -75,6 +75,7 @@ Zsh command-line completion support for %{name}. %package runtime Summary: Runtime files for %{name} +Version: %{version} Recommends: %{name} %description runtime @@ -126,11 +127,6 @@ install -Dm644 -T %{_builddir}/%{name}-%{version}/contrib/completion/hx.bash %{b install -Dm644 -T %{_builddir}/%{name}-%{version}/contrib/completion/hx.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish install -Dm644 -T %{_builddir}/%{name}-%{version}/contrib/completion/hx.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name} -%pre -if [ -l "%{_helix_runtimedir}" ] ; then - rm -f "%{_helix_runtimedir}" -fi - %files %license LICENSE %doc README.md CHANGELOG.md languages.toml docs/CONTRIBUTING.md docs/architecture.md docs/vision.md