[packages/glycin] use explicit %rust_target for all archs not just for x32
atler
atler at pld-linux.org
Mon Feb 3 19:32:34 CET 2025
commit 473495dfeed3c0ad866671dfb70812626e4fdceb
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Feb 3 18:56:03 2025 +0100
use explicit %rust_target for all archs not just for x32
glycin.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/glycin.spec b/glycin.spec
index 292490c..d3778db 100644
--- a/glycin.spec
+++ b/glycin.spec
@@ -127,10 +127,8 @@ wczytujących działających w piaskownicy.
%prep
%setup -q
-%ifarch x32
-%{__sed} -i -e "/^cargo_options/ a '--target', 'x86_64-unknown-linux-gnux32'," \
- -e "s,/ rust_target /,/ 'x86_64-unknown-linux-gnux32' / rust_target /," loaders/meson.build
-%endif
+%{__sed} -i -e "/^cargo_options/ a '--target', '%{rust_target}'," \
+ -e "s,/ rust_target /,/ '%rust_target' / rust_target /," loaders/meson.build
%build
%ifarch x32
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/glycin.git/commitdiff/f634569643ae60c26cbe39a0413f6e90bae34fae
More information about the pld-cvs-commit
mailing list