|
|
b3c7ac |
# debuginfo doesn't work yet
|
|
|
b3c7ac |
%global debug_package %{nil}
|
|
|
b3c7ac |
|
|
|
b3c7ac |
Epoch: 2
|
|
|
b3c7ac |
Name: aardvark-dns
|
|
|
b3c7ac |
Version: 1.1.0
|
|
|
b3c7ac |
License: ASL 2.0 and BSD and MIT
|
|
|
b3c7ac |
Release: 4%{?dist}
|
|
|
b3c7ac |
ExclusiveArch: %{rust_arches}
|
|
|
b3c7ac |
Summary: Authoritative DNS server for A/AAAA container records
|
|
|
b3c7ac |
URL: https://github.com/containers/aardvark-dns
|
|
|
b3c7ac |
Source0: %{url}/archive/v%{version}.tar.gz
|
|
|
b3c7ac |
Source1: %{url}/releases/download/v%{version}/%{name}-v%{version}-vendor.tar.gz
|
|
|
b3c7ac |
Patch0: https://patch-diff.githubusercontent.com/raw/containers/aardvark-dns/pull/201.patch
|
|
|
b3c7ac |
BuildRequires: cargo
|
|
|
b3c7ac |
BuildRequires: git-core
|
|
|
b3c7ac |
BuildRequires: make
|
|
|
b3c7ac |
BuildRequires: rust-srpm-macros
|
|
|
b3c7ac |
Conflicts: netavark < %{epoch}:%{version}
|
|
|
b3c7ac |
|
|
|
b3c7ac |
%description
|
|
|
b3c7ac |
%{summary}
|
|
|
b3c7ac |
|
|
|
b3c7ac |
Forwards other request to configured resolvers.
|
|
|
b3c7ac |
Read more about configuration in `src/backend/mod.rs`.
|
|
|
b3c7ac |
|
|
|
b3c7ac |
%prep
|
|
|
b3c7ac |
%autosetup -Sgit
|
|
|
b3c7ac |
tar fx %{SOURCE1}
|
|
|
b3c7ac |
mkdir -p .cargo
|
|
|
b3c7ac |
|
|
|
b3c7ac |
cat >.cargo/config << EOF
|
|
|
b3c7ac |
[source.crates-io]
|
|
|
b3c7ac |
replace-with = "vendored-sources"
|
|
|
b3c7ac |
|
|
|
b3c7ac |
[source.vendored-sources]
|
|
|
b3c7ac |
directory = "vendor"
|
|
|
b3c7ac |
EOF
|
|
|
b3c7ac |
|
|
|
b3c7ac |
%build
|
|
|
b3c7ac |
%{__make} build
|
|
|
b3c7ac |
|
|
|
b3c7ac |
%install
|
|
|
b3c7ac |
%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install
|
|
|
b3c7ac |
|
|
|
b3c7ac |
%files
|
|
|
b3c7ac |
%license LICENSE
|
|
|
b3c7ac |
%dir %{_libexecdir}/podman
|
|
|
b3c7ac |
%{_libexecdir}/podman/%{name}
|
|
|
b3c7ac |
|
|
|
b3c7ac |
%changelog
|
|
|
b3c7ac |
* Wed Aug 24 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.1.0-4
|
|
|
b3c7ac |
- remove windows binaries and regenerate vendor tarball
|
|
|
b3c7ac |
- Related: #2061316
|
|
|
b3c7ac |
|
|
|
b3c7ac |
* Tue Aug 23 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.1.0-3
|
|
|
b3c7ac |
- conflict with older versions than aardvark-dns itself
|
|
|
b3c7ac |
- Related: #2061316
|
|
|
b3c7ac |
|
|
|
b3c7ac |
* Thu Aug 04 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.1.0-2
|
|
|
b3c7ac |
- add Epoch to preserve upgrade path
|
|
|
b3c7ac |
- Related: #2061316
|
|
|
b3c7ac |
|
|
|
b3c7ac |
* Wed Aug 3 2022 Jindrich Novy <jnovy@redhat.com> 1.1.0-1
|
|
|
b3c7ac |
- initial import
|
|
|
b3c7ac |
- Related: #2061316
|