forked from pool/helix
This commit is contained in:
parent
0dcf9de743
commit
6cf1e49dbb
@ -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>
|
||||
|
||||
|
@ -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.*
|
||||
|
Loading…
Reference in New Issue
Block a user