Add BR glibc-static

As part of the test we build a small static binary which acts like
'rpm' inside our test VM.  This needs glibc-static.  We only run this
test on x86-64.
This commit is contained in:
Richard W.M. Jones 2022-08-23 11:59:28 +01:00
parent 55ac73a3a6
commit c4fd3776bc

View File

@ -16,7 +16,7 @@
Name: virt-v2v
Epoch: 1
Version: 2.1.8
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Convert a virtual machine to run on KVM
License: GPLv2+
@ -93,6 +93,9 @@ BuildRequires: nbdkit-file-plugin
BuildRequires: nbdkit-null-plugin
BuildRequires: nbdkit-python-plugin
BuildRequires: nbdkit-cow-filter >= 1.28.3-1.el9
%ifarch x86_64
BuildRequires: glibc-static
%endif
%if 0%{verify_tarball_signature}
BuildRequires: gnupg2
@ -311,6 +314,9 @@ make -C test-data/phony-guests fedora.img
%changelog
* Tue Aug 23 2022 Richard W.M. Jones <rjones@redhat.com> - 1:2.1.8-2
- Add BR glibc-static for tests on x86_64.
* Mon Aug 01 2022 Richard W.M. Jones <rjones@redhat.com> - 1:2.1.8-1
- New upstream development version 2.1.8