test/vendor/dnsname: ship the pre-built fedora version
This is obviously not a good long-term solution, but at least the fedora version of the binary has a build-id so RPM will not complain. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
805ae59151
commit
32f66bb539
3 changed files with 2 additions and 4 deletions
|
|
@ -150,10 +150,6 @@ install -m 0755 -vd %{buildroot}%{_datad
|
|||
install -m 0644 -vp test/data/keyring/id_rsa.pub %{buildroot}%{_datadir}/tests/osbuild-composer/keyring/
|
||||
install -m 0600 -vp test/data/keyring/id_rsa %{buildroot}%{_datadir}/tests/osbuild-composer/keyring/
|
||||
|
||||
install -m 0755 -vd %{buildroot}%{_datadir}/tests/osbuild-composer/vendor
|
||||
install -m 0644 -vp test/data/vendor/87-podman-bridge.conflist %{buildroot}%{_datadir}/tests/osbuild-composer/vendor/
|
||||
install -m 0755 -vp test/data/vendor/dnsname %{buildroot}%{_datadir}/tests/osbuild-composer/vendor/
|
||||
|
||||
%check
|
||||
%if 0%{?rhel}
|
||||
export GOFLAGS=-mod=vendor
|
||||
|
|
|
|||
|
|
@ -188,9 +188,11 @@ install -m 0755 -vd %{buildroot}%{_d
|
|||
install -m 0644 -vp test/data/keyring/id_rsa.pub %{buildroot}%{_datadir}/tests/osbuild-composer/keyring/
|
||||
install -m 0600 -vp test/data/keyring/id_rsa %{buildroot}%{_datadir}/tests/osbuild-composer/keyring/
|
||||
|
||||
%if 0%{?rhel}
|
||||
install -m 0755 -vd %{buildroot}%{_datadir}/tests/osbuild-composer/vendor
|
||||
install -m 0644 -vp test/data/vendor/87-podman-bridge.conflist %{buildroot}%{_datadir}/tests/osbuild-composer/vendor/
|
||||
install -m 0755 -vp test/data/vendor/dnsname %{buildroot}%{_datadir}/tests/osbuild-composer/vendor/
|
||||
%endif
|
||||
|
||||
%endif
|
||||
|
||||
|
|
|
|||
BIN
test/data/vendor/dnsname
vendored
BIN
test/data/vendor/dnsname
vendored
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue