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