Blame SPECS/aardvark-dns.spec

b3c7ac
# debuginfo doesn't work yet
b3c7ac
%global debug_package %{nil}
b3c7ac
b3c7ac
Epoch: 2
b3c7ac
Name: aardvark-dns
919cbb
Version: 1.5.0
b3c7ac
License: ASL 2.0 and BSD and MIT
919cbb
Release: 2%{?dist}
b3c7ac
ExclusiveArch: %{rust_arches}
b3c7ac
Summary: Authoritative DNS server for A/AAAA container records
b3c7ac
URL: https://github.com/containers/aardvark-dns
919cbb
Source0: %{url}/archive/v%{version}.tar.gz
919cbb
Source1: %{url}/releases/download/v%{version}/%{name}-v%{version}-vendor.tar.gz
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
919cbb
%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"
919cbb
919cbb
[net]
919cbb
offline = true
b3c7ac
EOF
b3c7ac
b3c7ac
%build
919cbb
%{__make} build
b3c7ac
b3c7ac
%install
b3c7ac
%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install
b3c7ac
b3c7ac
%files
919cbb
%license LICENSE
b3c7ac
%dir %{_libexecdir}/podman
b3c7ac
%{_libexecdir}/podman/%{name}
b3c7ac
b3c7ac
%changelog
919cbb
* Fri Feb 03 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.5.0-2
919cbb
- build always offline
919cbb
- Related: #2124478
919cbb
919cbb
* Fri Feb 03 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.5.0-1
919cbb
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.5.0
919cbb
- Related: #2124478
919cbb
919cbb
* Thu Dec 08 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.4.0-1
919cbb
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.4.0
919cbb
- Related: #2124478
919cbb
919cbb
* Wed Nov 16 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.3.0-1
919cbb
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.3.0
919cbb
- Related: #2124478
919cbb
919cbb
* Tue Oct 18 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.2.0-1
919cbb
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.2.0
919cbb
- Related: #2124478
edfe09
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