Blame SPECS/aardvark-dns.spec

05c3f5
# debuginfo doesn't work yet
05c3f5
%global debug_package %{nil}
05c3f5
05c3f5
Epoch: 2
05c3f5
Name: aardvark-dns
c6fee9
Version: 1.5.0
05c3f5
License: ASL 2.0 and BSD and MIT
c6fee9
Release: 2%{?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
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"
c6fee9
c6fee9
[net]
c6fee9
offline = true
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
c6fee9
* Fri Feb 03 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.5.0-2
c6fee9
- build always offline
c6fee9
- Related: #2124478
c6fee9
c6fee9
* Fri Feb 03 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.5.0-1
c6fee9
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.5.0
c6fee9
- Related: #2124478
c6fee9
c6fee9
* Thu Dec 08 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.4.0-1
c6fee9
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.4.0
c6fee9
- Related: #2124478
c6fee9
c6fee9
* Wed Nov 16 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.3.0-1
c6fee9
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.3.0
c6fee9
- Related: #2124478
c6fee9
c6fee9
* Tue Oct 18 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.2.0-1
c6fee9
- update to https://github.com/containers/aardvark-dns/releases/tag/v1.2.0
c6fee9
- Related: #2124478
c6fee9
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