mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 17:33:19 +01:00
Fix: fedora build
This commit is contained in:
@@ -92,7 +92,9 @@ EOF
|
|||||||
%build
|
%build
|
||||||
export RUSTFLAGS="%{rustflags}"
|
export RUSTFLAGS="%{rustflags}"
|
||||||
%if %{defined fedora}
|
%if %{defined fedora}
|
||||||
%cargo_build
|
%# Use an explicit cargo invocation for Fedora to avoid the macro adding `--locked`.
|
||||||
|
%# `--locked` breaks Fedora builds because the lockfile may not be appropriate for the distro buildroot.
|
||||||
|
/usr/bin/cargo auditable build --release
|
||||||
%else
|
%else
|
||||||
/usr/bin/cargo auditable build --release
|
/usr/bin/cargo auditable build --release
|
||||||
%endif
|
%endif
|
||||||
|
|||||||
Reference in New Issue
Block a user