BR: rust-packaging
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
2dce5e11e8
commit
6409db6f64
@ -1,11 +1,8 @@
|
||||
# trust-dns-{client,server} not available
|
||||
# using vendored deps
|
||||
|
||||
# debuginfo doesn't work yet
|
||||
%global with_debug 1
|
||||
|
||||
%define rust_buildflags -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn
|
||||
|
||||
%if 0%{?with_debug}
|
||||
%global _find_debuginfo_dwz_opts %{nil}
|
||||
%global _dwz_low_mem_die_limit 0
|
||||
@ -30,6 +27,7 @@ Source1: %{url}/releases/download/%{built_tag}/%{name}-%{built_tag}-vendor.tar.g
|
||||
BuildRequires: cargo
|
||||
BuildRequires: git-core
|
||||
BuildRequires: make
|
||||
BuildRequires: rust-packaging
|
||||
BuildRequires: rust-srpm-macros
|
||||
# cargo tree --prefix none | awk '{print "Provides: bundled(crate("$1")) = "$2}' | sort | uniq
|
||||
Provides: bundled(crate(aardvark-dns)) = v1.5.0
|
||||
|
Loading…
Reference in New Issue
Block a user