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