|
|
|
@ -1,16 +1,24 @@
|
|
|
|
|
# debuginfo doesn't work yet
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global aardvark_dns_branch v1.10.1-rhel
|
|
|
|
|
%global aardvark_dns_commit0 3d0fec1eb11bfe722ed645c5717425195d4d481f
|
|
|
|
|
%global aardvark_dns_shortcommit0 %(c=%{aardvark_dns_commit0}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
Epoch: 2
|
|
|
|
|
Name: aardvark-dns
|
|
|
|
|
Version: 1.12.2
|
|
|
|
|
Version: 1.10.1
|
|
|
|
|
License: ASL 2.0 and BSD and MIT
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
Summary: Authoritative DNS server for A/AAAA container records
|
|
|
|
|
URL: https://github.com/containers/aardvark-dns
|
|
|
|
|
Source0: %{url}/archive/v%{version}.tar.gz
|
|
|
|
|
Source1: %{url}/releases/download/v%{version}/%{name}-v%{version}-vendor.tar.gz
|
|
|
|
|
%if 0%{?aardvark_dns_branch:1}
|
|
|
|
|
Source0: https://github.com/containers/aardvark-dns/tarball/%{aardvark_dns_commit0}/%{aardvark_dns_branch}-%{aardvark_dns_shortcommit0}.tar.gz
|
|
|
|
|
%else
|
|
|
|
|
Source0: https://github.com/containers/aardvark-dns/archive/%{aardvark_dns_commit0}/aardvark-dns-%{aardvark_dns_branch}-%{aardvark_dns_shortcommit0}.tar.gz
|
|
|
|
|
%endif
|
|
|
|
|
Source1: https://github.com/containers/aardvark-dns/releases/download/%{aardvark_dns_version}/aardvark-dns-%{aardvark_dns_branch}-vendor.tar.gz
|
|
|
|
|
BuildRequires: cargo
|
|
|
|
|
BuildRequires: git-core
|
|
|
|
|
BuildRequires: make
|
|
|
|
@ -24,7 +32,12 @@ Forwards other request to configured resolvers.
|
|
|
|
|
Read more about configuration in `src/backend/mod.rs`.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -Sgit
|
|
|
|
|
tar fx %{SOURCE0}
|
|
|
|
|
%if 0%{?aardvark_dns_branch:1}
|
|
|
|
|
pushd containers-aardvark-dns-%{aardvark_dns_shortcommit0}
|
|
|
|
|
%else
|
|
|
|
|
pushd aardvark-dns-%{aardvark_dns_commit0}
|
|
|
|
|
%endif
|
|
|
|
|
tar fx %{SOURCE1}
|
|
|
|
|
mkdir -p .cargo
|
|
|
|
|
|
|
|
|
@ -40,85 +53,89 @@ offline = true
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__make} build
|
|
|
|
|
%if 0%{?aardvark_dns_branch:1}
|
|
|
|
|
pushd containers-aardvark-dns-%{aardvark_dns_shortcommit0}
|
|
|
|
|
%else
|
|
|
|
|
pushd aardvark-dns-%{aardvark_dns_commit0}
|
|
|
|
|
%endif
|
|
|
|
|
%__scm_setup_git -q
|
|
|
|
|
%make_build build
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%if 0%{?aardvark_dns_branch:1}
|
|
|
|
|
pushd containers-aardvark-dns-%{aardvark_dns_shortcommit0}
|
|
|
|
|
%else
|
|
|
|
|
pushd aardvark-dns-%{aardvark_dns_commit0}
|
|
|
|
|
%endif
|
|
|
|
|
%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%if 0%{?aardvark_dns_branch:1}
|
|
|
|
|
%license containers-aardvark-dns-%{aardvark_dns_shortcommit0}/LICENSE
|
|
|
|
|
%else
|
|
|
|
|
%license aardvark-dns-%{aardvark_dns_commit0}/LICENSE
|
|
|
|
|
%endif
|
|
|
|
|
%dir %{_libexecdir}/podman
|
|
|
|
|
%{_libexecdir}/podman/%{name}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Sep 04 2024 Jindrich Novy <jnovy@redhat.com> - 2:1.12.2-1
|
|
|
|
|
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.12.2
|
|
|
|
|
- Related: RHEL-27608
|
|
|
|
|
|
|
|
|
|
* Mon Aug 05 2024 Jindrich Novy <jnovy@redhat.com> - 2:1.12.1-1
|
|
|
|
|
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.12.1
|
|
|
|
|
- Related: RHEL-27608
|
|
|
|
|
|
|
|
|
|
* Mon Jun 03 2024 Jindrich Novy <jnovy@redhat.com> - 2:1.11.0-1
|
|
|
|
|
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.11.0
|
|
|
|
|
- Related: RHEL-27608
|
|
|
|
|
* Wed Sep 25 2024 Jindrich Novy <jnovy@redhat.com> - 2:1.10.1-2
|
|
|
|
|
- build off the RHEL maintenance branch
|
|
|
|
|
- Resolves: RHEL-59129
|
|
|
|
|
|
|
|
|
|
* Mon Apr 08 2024 Lokesh Mandvekar <lsm5@redhat.com> - 2:1.10.0-2
|
|
|
|
|
- rebuild for gating tests
|
|
|
|
|
- Related: RHEL-31950
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Jindrich Novy <jnovy@redhat.com> - 2:1.10.0-1
|
|
|
|
|
* Thu Jan 25 2024 Jindrich Novy <jnovy@redhat.com> - 2:1.10.0-1
|
|
|
|
|
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.10.0
|
|
|
|
|
- Related: RHEL-2112
|
|
|
|
|
- Related: Jira:RHEL-2110
|
|
|
|
|
|
|
|
|
|
* Wed Dec 06 2023 Lokesh Mandvekar <lsm5@redhat.com> - 2:1.9.0-1
|
|
|
|
|
* Thu Dec 07 2023 Lokesh Mandvekar <lsm5@redhat.com> - 2:1.9.0-1
|
|
|
|
|
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.9.0
|
|
|
|
|
- Related: Jira:RHEL-2112
|
|
|
|
|
- Related: Jira:RHEL-2110
|
|
|
|
|
|
|
|
|
|
* Fri Sep 29 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.8.0-1
|
|
|
|
|
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.8.0
|
|
|
|
|
- Related: Jira:RHEL-2112
|
|
|
|
|
- Related: Jira:RHEL-2110
|
|
|
|
|
|
|
|
|
|
* Fri Jul 07 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.7.0-1
|
|
|
|
|
* Mon Jul 03 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.7.0-1
|
|
|
|
|
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.7.0
|
|
|
|
|
- Related: #2176063
|
|
|
|
|
- Related: #2176055
|
|
|
|
|
|
|
|
|
|
* Wed Apr 12 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.6.0-1
|
|
|
|
|
* Thu May 11 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.6.0-1
|
|
|
|
|
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.6.0
|
|
|
|
|
- Related: #2176063
|
|
|
|
|
- Related: #2176055
|
|
|
|
|
|
|
|
|
|
* Fri Feb 03 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.5.0-2
|
|
|
|
|
- build always offline
|
|
|
|
|
- Related: #2124478
|
|
|
|
|
- always stay offline during build
|
|
|
|
|
- Related: #2123641
|
|
|
|
|
|
|
|
|
|
* Fri Feb 03 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.5.0-1
|
|
|
|
|
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.5.0
|
|
|
|
|
- Related: #2124478
|
|
|
|
|
- Related: #2123641
|
|
|
|
|
|
|
|
|
|
* Thu Dec 08 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.4.0-1
|
|
|
|
|
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.4.0
|
|
|
|
|
- Related: #2124478
|
|
|
|
|
- Related: #2123641
|
|
|
|
|
|
|
|
|
|
* Wed Nov 16 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.3.0-1
|
|
|
|
|
* Mon Nov 14 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.3.0-1
|
|
|
|
|
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.3.0
|
|
|
|
|
- Related: #2124478
|
|
|
|
|
- Related: #2123641
|
|
|
|
|
|
|
|
|
|
* Tue Oct 18 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.2.0-1
|
|
|
|
|
* Wed Sep 28 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.2.0-1
|
|
|
|
|
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.2.0
|
|
|
|
|
- Related: #2124478
|
|
|
|
|
|
|
|
|
|
- Related: #2116481
|
|
|
|
|
* Wed Aug 24 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.1.0-4
|
|
|
|
|
- remove windows binaries and regenerate vendor tarball
|
|
|
|
|
- Related: #2061316
|
|
|
|
|
- Related: #2061390
|
|
|
|
|
|
|
|
|
|
* Tue Aug 23 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.1.0-3
|
|
|
|
|
- conflict with older versions than aardvark-dns itself
|
|
|
|
|
- Related: #2061316
|
|
|
|
|
* Tue Aug 09 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.1.0-3
|
|
|
|
|
- add gating.yaml
|
|
|
|
|
- Related: #2061390
|
|
|
|
|
|
|
|
|
|
* Thu Aug 04 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.1.0-2
|
|
|
|
|
- add Epoch to preserve upgrade path
|
|
|
|
|
- Related: #2061316
|
|
|
|
|
- bump Epoch to preserve upgrade path
|
|
|
|
|
- Related: #2061390
|
|
|
|
|
|
|
|
|
|
* Wed Aug 3 2022 Jindrich Novy <jnovy@redhat.com> 1.1.0-1
|
|
|
|
|
- initial import
|
|
|
|
|
- Related: #2061316
|
|
|
|
|
- Related: #2061390
|
|
|
|
|