[packages/rust] BR: llvm (llvm-dwp copied to rust-llvm-dwp during build)

atler atler at pld-linux.org
Mon Oct 4 21:26:41 CEST 2021


commit 2cec66d3200839a01b4bb1ca553fab44664af090
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Oct 4 21:23:48 2021 +0200

    BR: llvm (llvm-dwp copied to rust-llvm-dwp during build)

 rust.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/rust.spec b/rust.spec
index 3428d24..d71b34d 100644
--- a/rust.spec
+++ b/rust.spec
@@ -66,7 +66,10 @@ BuildRequires:	rpmbuild(macros) >= 1.752
 BuildRequires:	curl-devel
 BuildRequires:	libgit2-devel >= 1.1.0
 BuildRequires:	libstdc++-devel
-%{?with_system_llvm:BuildRequires:	llvm-devel >= 10.0}
+%if %{with system_llvm}
+BuildRequires:	llvm >= 10.0
+BuildRequires:	llvm-devel >= 10.0
+%endif
 BuildRequires:	openssl-devel >= 1.0.1
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rust.git/commitdiff/2cec66d3200839a01b4bb1ca553fab44664af090



More information about the pld-cvs-commit mailing list