From 6409db6f641eb75c2eb9090304e25f68dbab1b81 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Tue, 7 Feb 2023 17:26:00 +0530 Subject: [PATCH] BR: rust-packaging Signed-off-by: Lokesh Mandvekar --- aardvark-dns.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aardvark-dns.spec b/aardvark-dns.spec index d3746d7..1ce721c 100644 --- a/aardvark-dns.spec +++ b/aardvark-dns.spec @@ -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