Skip to content
Snippets Groups Projects
Commit 96b6317a authored by Rocky Automation's avatar Rocky Automation :tv:
Browse files

import aardvark-dns-1.14.0-2.el10

parent 680f579b
Branches r9
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ Epoch: 2
Version: 1.14.0
# The `AND` needs to be uppercase in the License for SPDX compatibility
License: Apache-2.0 AND MIT AND Zlib
Release: 1%{?dist}
Release: 2%{?dist}
%if %{defined golang_arches_future}
ExclusiveArch: %{golang_arches_future}
%else
......@@ -53,6 +53,26 @@ BuildRequires: rust-srpm-macros
Forwards other request to configured resolvers.
Read more about configuration in `src/backend/mod.rs`.
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: bats
Requires: bind-utils
Requires: iptables
Requires: jq
Requires: make
Requires: netavark
Requires: nftables
Requires: nmap-ncat
Requires: dnsmasq
%description tests
%{summary}
This package contains system tests for %{name}. This is only intended to be
used for distro gating tests. End user / customer usecases not supported.
%prep
%autosetup -Sgit %{name}-%{version}
# Following steps are only required on environments like koji which have no
......@@ -78,6 +98,13 @@ tar fx %{SOURCE1}
%install
%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install
%{__install} -d -p %{buildroot}%{_datadir}/%{name}/test
%{__cp} -rp test/* %{buildroot}%{_datadir}/%{name}/test/
%{__rm} -rf %{buildroot}%{_datadir}/%{name}/test/tmt/
# Placeholder check to silence rpmlint warning
%check
%files
%license LICENSE
%if (0%{?fedora} || 0%{?rhel} >= 10) && !%{defined copr_username}
......@@ -87,7 +114,14 @@ tar fx %{SOURCE1}
%dir %{_libexecdir}/podman
%{_libexecdir}/podman/%{name}
%files tests
%{_datadir}/%{name}/test
%changelog
* Thu Feb 27 2025 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:1.14.0-2
- rebuilt to try TMT tests in osci
- Resolves: RHEL-80817
* Mon Feb 10 2025 Jindrich Novy <jnovy@redhat.com> - 2:1.14.0-1
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.14.0
- Related: RHEL-58990
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment