Summary(pl.UTF-8): Język programowania Rust
Name: rust
Version: 1.47.0
-Release: 1
+Release: 0.1
# Licenses: (rust itself) and (bundled libraries)
License: (Apache v2.0 or MIT) and (BSD and ISC and MIT)
Group: Development/Languages
# building x86_64-hosted crosscompiler on x32 host
BuildRequires: gcc-multilib-64
BuildRequires: libstdc++-multilib-64-devel
-# how to specify?
-#BuildRequires: curl-devel.x86_64
-#BuildRequires: libgit2-devel.x86_64
-#BuildRequires: llvm-devel.x86_64 >= 7.0
-#BuildRequires: openssl-devel.x86_64
-#BuildRequires: zlib-devel.x86_64
+# how to specify? - rpm.org adds arch provides on packages (__isa), uncomment once we switch
+#BuildRequires: curl-devel(x86-64)
+#BuildRequires: libgit2-devel(x86-64)
+#BuildRequires: llvm-devel(x86-64)>= 7.0
+#BuildRequires: openssl-devel(x86-64)
+#BuildRequires: zlib-devel(x86-64)
%endif
%endif
# The C compiler is needed at runtime just for linking. Someday rustc might
%prep
%setup -q -n %{rustc_package}
# irrelevant when not building rustc for x32
-#patch0 -p1
+%patch0 -p1
%if %{with bootstrap}
%ifarch %{x8664} x32