diff --git a/rust.spec b/rust.spec index 2ae37ae..20357a3 100644 --- a/rust.spec +++ b/rust.spec @@ -94,7 +94,7 @@ BuildRequires: pkgconfig(libssh2) >= 1.4.3 BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(zlib) Recommends: %{name}-doc -Recommends: %{name}-std +Recommends: %{name}-std-static Recommends: cargo Conflicts: rust Conflicts: rustc-bootstrap @@ -116,8 +116,8 @@ BuildRequires: cargo >= %{prev_rust} BuildRequires: rust <= %{version} BuildRequires: rust >= %{prev_rust} # This must be bumped to rust-std-static after 1.27.2 is in mainstream -BuildRequires: rust-std <= %{version} -BuildRequires: rust-std >= %{prev_rust} +BuildRequires: rust-std-static <= %{version} +BuildRequires: rust-std-static >= %{prev_rust} %endif %description @@ -341,7 +341,7 @@ export LIBSSH2_SYS_USE_PKG_CONFIG=1 # Debuginfo can exhaust memory on these architecture workers %ifarch %{arm} %{ix86} %define codegen_units --set codegen-units=4 -%define debug_info --disable-debuginfo --disable-debuginfo-only-std --disable-debuginfo-tools --disable-debuginfo-lines +%define debug_info --disable-debuginfo --enable-debuginfo-only-std --disable-debuginfo-tools --disable-debuginfo-lines %else %define debug_info --enable-debuginfo --disable-debuginfo-only-std --enable-debuginfo-tools --disable-debuginfo-lines %endif