Blame SPECS/aardvark-dns.spec

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