SHA256
1
0
forked from pool/helix
Soc Virnyl Estela 2023-08-30 12:52:08 +00:00 committed by Git OBS Bridge
parent 0dcf9de743
commit 6cf1e49dbb
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 30 12:51:00 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Disable usage of cargo-packaging macros
-------------------------------------------------------------------
Wed Aug 30 12:34:13 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>

View File

@ -36,7 +36,8 @@ Source3: README-suse-maint.md
Source4: helix-rpmlintrc
BuildRequires: c++_compiler
BuildRequires: c_compiler
BuildRequires: cargo-packaging
# Cargo packaging seems to only want the latest version of rust+cargo
# BuildRequires: cargo-packaging
BuildRequires: cargo1.66
BuildRequires: hicolor-icon-theme
BuildRequires: update-desktop-files
@ -96,8 +97,8 @@ sed -e '/^\#\!\/usr\/bin\/env .*/d' -i contrib/completion/hx.*
%build
export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=true
export TARGET="%_arch"
%{cargo_build}
cargo run --release -- --grammar build
cargo build --release --offline
cargo run --release --offline -- --grammar build
# Shell completions
sed -i "s|hx|helix|g" contrib/completion/hx.*