SHA256
1
0
forked from pool/wezterm

Accepting request 1102804 from X11:terminals

Same as the SR#1102803. Forgot to check I was using cargo_build macro. Building correctly now :D
- Fix build feature flags. Only use default + distro-defaults.

OBS-URL: https://build.opensuse.org/request/show/1102804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wezterm?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2023-08-08 13:54:38 +00:00 committed by Git OBS Bridge
commit 938a12e3c3
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 7 14:19:49 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Fix build feature flags. Only use default + distro-defaults.
-------------------------------------------------------------------
Fri Jul 14 00:03:36 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>

View File

@ -110,11 +110,11 @@ printf "%{version}" > .tag
# export CFLAGS="%%optflags"
# export CXXFLAGS="%%optflags"
%if 0%{?suse_version} > 1500
%{cargo_build} --all-features
%{cargo_build} --no-default-features --features vendored-fonts,wayland,distro-defaults
%else
export CARGO_FEATURE_VENDORED=1
export RUSTFLAGS='%{rustflags}'
cargo build --offline --release --all-features
cargo build --offline --release --no-default-features --features vendored-fonts,wayland,distro-defaults
%endif
%install