ec710c
# debuginfo doesn't work yet
ec710c
%global debug_package %{nil}
ec710c
ec710c
Epoch: 2
ec710c
Name: aardvark-dns
4eaa2b
Version: 1.4.0
ec710c
License: ASL 2.0 and BSD and MIT
4eaa2b
Release: 1%{?dist}
ec710c
ExclusiveArch: %{rust_arches}
ec710c
Summary: Authoritative DNS server for A/AAAA container records
ec710c
URL: https://github.com/containers/aardvark-dns
ec710c
Source0: %{url}/archive/v%{version}.tar.gz
ec710c
Source1: %{url}/releases/download/v%{version}/%{name}-v%{version}-vendor.tar.gz
ec710c
BuildRequires: cargo
ec710c
BuildRequires: git-core
ec710c
BuildRequires: make
ec710c
BuildRequires: rust-srpm-macros
ec710c
ec710c
%description
ec710c
%{summary}
ec710c
ec710c
Forwards other request to configured resolvers.
ec710c
Read more about configuration in `src/backend/mod.rs`.
ec710c
ec710c
%prep
ec710c
%autosetup -Sgit
ec710c
tar fx %{SOURCE1}
ec710c
mkdir -p .cargo
ec710c
ec710c
cat >.cargo/config << EOF
ec710c
[source.crates-io]
ec710c
replace-with = "vendored-sources"
ec710c
ec710c
[source.vendored-sources]
ec710c
directory = "vendor"
ec710c
EOF
ec710c
ec710c
%build
ec710c
%{__make} build
ec710c
ec710c
%install
ec710c
%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install
ec710c
ec710c
%files
ec710c
%license LICENSE
ec710c
%dir %{_libexecdir}/podman
ec710c
%{_libexecdir}/podman/%{name}
ec710c
ec710c
%changelog
4eaa2b
* Thu Dec 08 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.4.0-1
4eaa2b
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.4.0
4eaa2b
- Related: #2123641
4eaa2b
4eaa2b
* Mon Nov 14 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.3.0-1
4eaa2b
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.3.0
4eaa2b
- Related: #2123641
4eaa2b
4eaa2b
* Wed Sep 28 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.2.0-1
4eaa2b
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.2.0
4eaa2b
- Related: #2116481
4eaa2b
ec710c
* Wed Aug 24 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.1.0-4
ec710c
- remove windows binaries and regenerate vendor tarball
ec710c
- Related: #2061390
ec710c
ec710c
* Tue Aug 09 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.1.0-3
ec710c
- add gating.yaml
ec710c
- Related: #2061390
ec710c
ec710c
* Thu Aug 04 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.1.0-2
ec710c
- bump Epoch to preserve upgrade path
ec710c
- Related: #2061390
ec710c
ec710c
* Wed Aug 3 2022 Jindrich Novy <jnovy@redhat.com> 1.1.0-1
ec710c
- initial import
ec710c
- Related: #2061390