aardvark-dns/SPECS/aardvark-dns.spec

89 lines
2.3 KiB
RPMSpec
Raw Normal View History

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