Accepting request 1061014 from X11:terminals

OBS-URL: https://build.opensuse.org/request/show/1061014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alacritty?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2023-01-26 12:57:45 +00:00 committed by Git OBS Bridge
commit aa795a816f
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jan 25 16:15:25 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Add back the config.guess/config.sub workaround for aarch64,
ppc64le and riscv64, which was silently dropped from previous
commit.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 07 21:22:40 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com> Wed Dec 07 21:22:40 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>

View File

@ -74,6 +74,15 @@ The official zsh completion script for alacritty.
mkdir .cargo mkdir .cargo
cp %{SOURCE2} .cargo/config cp %{SOURCE2} .cargo/config
%ifarch aarch64 ppc64le riscv64
# Remove checksum of config.guess and config.sub since aarch64 and ppc64le modify them
sed -i 's#"expat/conftools/config.guess":"ebaffe1c6683ae2c3dcabb87825a83b892f00391514756f7640c4a3dcafbad4f",##g' ./vendor/expat-sys/.cargo-checksum.json
sed -i 's#"expat/conftools/config.sub":"523cb028db907d1fbbcecdcac6737f9e2eeba48fb639231dbc5ae69238f276c9",##g' ./vendor/expat-sys/.cargo-checksum.json
%endif
%ifarch riscv64
sed -i -e 's#"config.guess":"e0c1d7ef8ce964fb57c35e7704ae8661d7e4ca87d6a3c18950e503ae26b62319",##' -e 's#"config.sub":"f7e62c3cb15cd5bbc4e7f3617793b227481fc554d39697a9c322a266d20fb626",##' vendor/servo-fontconfig-sys/.cargo-checksum.json
%endif
%build %build
RUSTFLAGS=%{rustflags} %{cargo_build} RUSTFLAGS=%{rustflags} %{cargo_build}