]> git.pld-linux.org Git - packages/rust.git/blobdiff - rust.spec
up to 1.52.1
[packages/rust.git] / rust.spec
index 86d146f4df6ce41d843c974d55cb32f7210a1e33..c41a0cb14b560d6dbb4342ea3b5b5b5193d51926 100644 (file)
--- a/rust.spec
+++ b/rust.spec
 %ifarch x32
 %define                with_cross      1
 %endif
+
+%if %{without full_debuginfo}
+%define                _enable_debug_packages  0
+%endif
+
 Summary:       The Rust Programming Language
 Summary(pl.UTF-8):     JÄ™zyk programowania Rust
 Name:          rust
-Version:       1.52.0
-Release:       0.1
+Version:       1.52.1
+Release:       1
 # Licenses: (rust itself) and (bundled libraries)
 License:       (Apache v2.0 or MIT) and (BSD and ISC and MIT)
 Group:         Development/Languages
 Source0:       https://static.rust-lang.org/dist/%{rustc_package}.tar.xz
-# Source0-md5: f95ca614a531b3c1edd4918eaa329732
+# Source0-md5: 2df4835e3a15cc6f7e06fa4a986285d2
 Source1:       https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-x86_64-unknown-linux-gnu.tar.xz
 # Source1-md5: 7640d6538716c6492e56f361e3af0631
 Source2:       https://static.rust-lang.org/dist/%{bootstrap_date}/rust-%{bootstrap_rust}-i686-unknown-linux-gnu.tar.xz
@@ -57,7 +62,7 @@ BuildRequires:        python >= 1:2.7
 BuildRequires: rpmbuild(macros) >= 1.752
 %if %{without cross}
 BuildRequires: curl-devel
-BuildRequires: libgit2-devel
+BuildRequires: libgit2-devel >= 1.1.0
 BuildRequires: libstdc++-devel
 %{?with_system_llvm:BuildRequires:     llvm-devel >= 9.0}
 BuildRequires: openssl-devel >= 1.0.1
@@ -77,21 +82,20 @@ BuildRequires:      glibc-devel(x86_64)
 # building on x86_64 host with --target x32-pld-linux
 BuildRequires: curl-devel
 BuildRequires: gcc-multilib-x32
-BuildRequires: libgit2-devel
+BuildRequires: libgit2-devel >= 1.1.0
 BuildRequires: libstdc++-devel
 %{?with_system_llvm:BuildRequires:     llvm-devel >= 9.0}
 BuildRequires: openssl-devel >= 1.0.1
 BuildRequires: zlib-devel
 %else
 # building x86_64-hosted crosscompiler on x32 host
+BuildRequires: curl-devel(x86-64)
 BuildRequires: gcc-multilib-64
+BuildRequires: libgit2-devel(x86-64) >= 1.1.0
 BuildRequires: libstdc++-multilib-64-devel
-# 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)
+%{?with_system_llvm:BuildRequires:     llvm-devel(x86-64) >= 9.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
This page took 0.298962 seconds and 4 git commands to generate.