+# NOTE: for versions >= 0.29 see rust.spec
#
# Conditional build:
%bcond_with bootstrap # bootstrap using precompiled binaries
Summary(pl.UTF-8): Zarządca pakietów i narzędzie do budowania
Name: cargo
Version: 0.26.0
-Release: 2
+Release: 3.1
License: Apache v2.0 or MIT
Group: Development/Tools
Source0: https://github.com/rust-lang/cargo/archive/%{cargo_version}/%{name}-%{cargo_version}.tar.gz
# Source4-md5: bf5dd065f46ece6a0d30dbd3216508a0
Patch0: x32.patch
Patch1: build_fix.patch
+Patch2: %{name}-url-buildfix.patch
URL: https://crates.io/
%{!?with_bootstrap:BuildRequires: %{name} >= 0.13.0}
BuildRequires: cmake
%endif
%patch1 -p1
+%patch2 -p1
%if %{with bootstrap}
%ifarch %{x8664}