From 7b2c822c51798f5875fa2c897b444be7b7da919f Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Tue, 4 Oct 2022 10:34:23 -0400 Subject: [PATCH] get rid of debbuild to comply with fedora guidelines Signed-off-by: Lokesh Mandvekar --- aardvark-dns.spec | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/aardvark-dns.spec b/aardvark-dns.spec index cf06e25..7bf0c6f 100644 --- a/aardvark-dns.spec +++ b/aardvark-dns.spec @@ -8,23 +8,15 @@ Name: aardvark-dns Version: 1.2.0 -%if "%{_vendor}" == "debbuild" -Packager: Podman Debbuild Maintainers -License: ASL-2.0+ -Release: 0%{?dist} -%else License: ASL 2.0 and BSD and MIT Release: %autorelease ExclusiveArch: %{rust_arches} -%endif Summary: Authoritative DNS server for A/AAAA container records URL: https://github.com/containers/%{name} +# Tarballs fetched from upstream's release page Source0: %{url}/archive/v%{built_tag_strip}.tar.gz Source1: %{url}/releases/download/v%{built_tag_strip}/%{name}-v%{built_tag_strip}-vendor.tar.gz BuildRequires: cargo -%if "%{_vendor}" == "debbuild" -BuildRequires: git -%else BuildRequires: git-core BuildRequires: make BuildRequires: rust-srpm-macros @@ -130,7 +122,6 @@ Provides: bundled(crate(unicode-normalization)) = v0.1.19 Provides: bundled(crate(unicode-xid)) = v0.2.3 Provides: bundled(crate(url)) = v2.2.2 Provides: bundled(crate(version_check)) = v0.9.4 -%endif %description %{summary} @@ -163,6 +154,4 @@ EOF %{_libexecdir}/podman/%{name} %changelog -%if "%{_vendor}" != "debbuild" %autochangelog -%endif