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