Blame SPECS/aardvark-dns.spec

b3184f
# debuginfo doesn't work yet
b3184f
%global debug_package %{nil}
b3184f
b3184f
Epoch: 2
b3184f
Name: aardvark-dns
b3184f
Version: 1.1.0
b3184f
License: ASL 2.0 and BSD and MIT
b3184f
Release: 4%{?dist}
b3184f
ExclusiveArch: %{rust_arches}
b3184f
Summary: Authoritative DNS server for A/AAAA container records
b3184f
URL: https://github.com/containers/aardvark-dns
b3184f
Patch0: https://patch-diff.githubusercontent.com/raw/containers/aardvark-dns/pull/201.patch
b3184f
Source0: %{url}/archive/v%{version}.tar.gz
b3184f
Source1: %{url}/releases/download/v%{version}/%{name}-v%{version}-vendor.tar.gz
b3184f
BuildRequires: cargo
b3184f
BuildRequires: git-core
b3184f
BuildRequires: make
b3184f
BuildRequires: rust-srpm-macros
b3184f
b3184f
%description
b3184f
%{summary}
b3184f
b3184f
Forwards other request to configured resolvers.
b3184f
Read more about configuration in `src/backend/mod.rs`.
b3184f
b3184f
%prep
b3184f
%autosetup -Sgit
b3184f
tar fx %{SOURCE1}
b3184f
mkdir -p .cargo
b3184f
b3184f
cat >.cargo/config << EOF
b3184f
[source.crates-io]
b3184f
replace-with = "vendored-sources"
b3184f
b3184f
[source.vendored-sources]
b3184f
directory = "vendor"
b3184f
EOF
b3184f
b3184f
%build
b3184f
%{__make} build
b3184f
b3184f
%install
b3184f
%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install
b3184f
b3184f
%files
b3184f
%license LICENSE
b3184f
%dir %{_libexecdir}/podman
b3184f
%{_libexecdir}/podman/%{name}
b3184f
b3184f
%changelog
b3184f
* Wed Aug 24 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.1.0-4
b3184f
- remove windows binaries and regenerate vendor tarball
b3184f
- Related: #2061390
b3184f
b3184f
* Tue Aug 09 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.1.0-3
b3184f
- add gating.yaml
b3184f
- Related: #2061390
b3184f
b3184f
* Thu Aug 04 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.1.0-2
b3184f
- bump Epoch to preserve upgrade path
b3184f
- Related: #2061390
b3184f
b3184f
* Wed Aug 3 2022 Jindrich Novy <jnovy@redhat.com> 1.1.0-1
b3184f
- initial import
b3184f
- Related: #2061390