Blame SPECS/aardvark-dns.spec

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