Blame SPECS/aardvark-dns.spec

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