diff --git a/wezterm.spec b/wezterm.spec index 3b7312d..c12d75b 100644 --- a/wezterm.spec +++ b/wezterm.spec @@ -29,11 +29,11 @@ Source1: vendor.tar.gz Source2: cargo_config Requires: terminfo BuildRequires: Mesa-libEGL-devel -BuildRequires: rust >= 1.43 + %if 0%{?suse_version} > 1500 BuildRequires: cargo-packaging %else -BuildRequires: cargo +BuildRequires: rust+cargo >= 1.43 %endif ExclusiveArch: %{rust_arches}