aardvark-dns-1.1.0-1.el9
- initial import - Related: #2061316 Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
parent
b1b62d3ccd
commit
584a25dcf0
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
/*.tar.gz
|
51
aardvark-dns.spec
Normal file
51
aardvark-dns.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
# debuginfo doesn't work yet
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
Name: aardvark-dns
|
||||||
|
Version: 1.1.0
|
||||||
|
License: ASL 2.0 and BSD and MIT
|
||||||
|
Release: 1%{?dist}
|
||||||
|
ExclusiveArch: %{rust_arches}
|
||||||
|
Summary: Authoritative DNS server for A/AAAA container records
|
||||||
|
URL: https://github.com/containers/aardvark-dns
|
||||||
|
Source0: %{url}/archive/v%{version}.tar.gz
|
||||||
|
Source1: %{url}/releases/download/v%{version}/%{name}-v%{version}-vendor.tar.gz
|
||||||
|
BuildRequires: cargo
|
||||||
|
BuildRequires: git-core
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: rust-srpm-macros
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}
|
||||||
|
|
||||||
|
Forwards other request to configured resolvers.
|
||||||
|
Read more about configuration in `src/backend/mod.rs`.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -Sgit
|
||||||
|
tar fx %{SOURCE1}
|
||||||
|
mkdir -p .cargo
|
||||||
|
|
||||||
|
cat >.cargo/config << EOF
|
||||||
|
[source.crates-io]
|
||||||
|
replace-with = "vendored-sources"
|
||||||
|
|
||||||
|
[source.vendored-sources]
|
||||||
|
directory = "vendor"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__make} build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%dir %{_libexecdir}/podman
|
||||||
|
%{_libexecdir}/podman/%{name}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Aug 3 2022 Jindrich Novy <jnovy@redhat.com> 1.1.0-1
|
||||||
|
- initial import
|
||||||
|
- Related: #2061316
|
2
sources
Normal file
2
sources
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SHA512 (aardvark-dns-v1.1.0-vendor.tar.gz) = b2c28eb900efc0a4b1c9d39db334ee4613c518689b5a86ea97b8d543ab69331c07c02963339f7c91ec0a2510f8cad0e7efcd4db570f9ed3df77953a85bf91ee2
|
||||||
|
SHA512 (v1.1.0.tar.gz) = 96acfac34f6cb894dc7ea170d74de6342da95d345f4109703e0d57ff98662968251fafde8e8a4f5c047a6ff4725ca632b598d024b6660d7dc4a07afeffdee26a
|
Loading…
Reference in New Issue
Block a user