get rid of debbuild to comply with fedora guidelines

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2022-10-04 10:34:23 -04:00
parent 133012618e
commit 7b2c822c51

View File

@ -8,23 +8,15 @@
Name: aardvark-dns
Version: 1.2.0
%if "%{_vendor}" == "debbuild"
Packager: Podman Debbuild Maintainers <https://github.com/orgs/containers/teams/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