Clean up build requires lines

Drop podlators since QEMU no longer uses POD for man pages.

Drop all version numbers, since we can assume Fedora has new enough
packages.

Make comments a little more consistent.

Drop rados2-devel  as it is implied by rbd-devel

Use rbd-devel instead of rbd1-devel due to rename

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2020-10-22 11:32:01 +01:00
parent cd21b7f45d
commit 744e70f72e
1 changed files with 39 additions and 43 deletions

View File

@ -232,13 +232,11 @@ Source21: 95-kvm-ppc64-memlock.conf
BuildRequires: gcc BuildRequires: gcc
# documentation deps # documentation deps
BuildRequires: texinfo BuildRequires: texinfo
# For /usr/bin/pod2man
BuildRequires: perl-podlators
%if %{qemu_sanity_check} %if %{qemu_sanity_check}
BuildRequires: qemu-sanity-check-nodeps BuildRequires: qemu-sanity-check-nodeps
BuildRequires: kernel BuildRequires: kernel
%endif %endif
# For chrpath calls in specfile # chrpath calls in specfile
BuildRequires: chrpath BuildRequires: chrpath
# -display sdl support # -display sdl support
@ -266,47 +264,45 @@ BuildRequires: libnfs-devel
BuildRequires: snappy-devel BuildRequires: snappy-devel
# lzo compression for memory dump # lzo compression for memory dump
BuildRequires: lzo-devel BuildRequires: lzo-devel
# needed for -display curses # curses display backend
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
# used by 9pfs # 9pfs filesystem
BuildRequires: libattr-devel BuildRequires: libattr-devel
# used by qemu-bridge-helper and qemu-pr-helper # qemu-bridge-helper, qemu-pr-helper and more
BuildRequires: libcap-ng-devel BuildRequires: libcap-ng-devel
# spice usb redirection support # spice usb redirection support
BuildRequires: usbredir-devel >= 0.5.2 BuildRequires: usbredir-devel
%if %{have_spice} %if %{have_spice}
# spice graphics support # spice graphics support
BuildRequires: spice-protocol >= 0.12.2 BuildRequires: spice-protocol
BuildRequires: spice-server-devel >= 0.12.0 BuildRequires: spice-server-devel
%endif %endif
# seccomp containment support # seccomp containment support
BuildRequires: libseccomp-devel >= 2.3.0 BuildRequires: libseccomp-devel
# For network block driver # network block driver
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
%if %{with_block_rbd} %if %{with_block_rbd}
# For rbd block driver # RBD block driver
BuildRequires: librados2-devel BuildRequires: librbd-devel
BuildRequires: librbd1-devel
%endif %endif
# We need both because the 'stap' binary is probed for by configure # We need both because the 'stap' binary is probed for by configure
BuildRequires: systemtap BuildRequires: systemtap
BuildRequires: systemtap-sdt-devel BuildRequires: systemtap-sdt-devel
# For VNC JPEG support # VNC JPEG support
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
# For VNC PNG support # VNC PNG support
BuildRequires: libpng-devel BuildRequires: libpng-devel
# For Braille device support # Braille device support
BuildRequires: brlapi-devel BuildRequires: brlapi-devel
# For FDT device tree support # FDT device tree support
BuildRequires: libfdt-devel BuildRequires: libfdt-devel
# Hard requirement for version >= 1.3 # QEMU display pixel manipulation
BuildRequires: pixman-devel BuildRequires: pixman-devel
%if %{with_block_gluster} %if %{with_block_gluster}
# For gluster support # gluster block driver
BuildRequires: glusterfs-devel >= 3.4.0 BuildRequires: glusterfs-api-devel
BuildRequires: glusterfs-api-devel >= 3.4.0
%endif %endif
# Needed for usb passthrough for qemu >= 1.5 # USB passthrough
BuildRequires: libusbx-devel BuildRequires: libusbx-devel
# SSH block driver # SSH block driver
BuildRequires: libssh-devel BuildRequires: libssh-devel
@ -324,53 +320,53 @@ BuildRequires: rdma-core-devel
BuildRequires: xen-devel BuildRequires: xen-devel
%endif %endif
%if %{have_numactl} %if %{have_numactl}
# qemu 2.1: needed for memdev hostmem backend # memdev hostmem backend
BuildRequires: numactl-devel BuildRequires: numactl-devel
%endif %endif
# qemu 2.3: reading bzip2 compressed dmg images # reading bzip2 compressed dmg images
BuildRequires: bzip2-devel BuildRequires: bzip2-devel
# qemu 2.4: needed for opengl bits # opengl bits
BuildRequires: libepoxy-devel BuildRequires: libepoxy-devel
# qemu 2.5: needed for TLS test suite # TLS test suite
BuildRequires: libtasn1-devel BuildRequires: libtasn1-devel
# qemu 2.5: libcacard is it's own project now # smartcard device
BuildRequires: libcacard-devel >= 2.5.0 BuildRequires: libcacard-devel
%if %{have_virgl} %if %{have_virgl}
# qemu 2.5: virgl 3d support # virgl 3d support
BuildRequires: virglrenderer-devel BuildRequires: virglrenderer-devel
%endif %endif
# qemu 2.6: Needed for gtk GL support, vhost-user-gpu # gtk GL support, vhost-user-gpu
BuildRequires: mesa-libgbm-devel BuildRequires: mesa-libgbm-devel
# qemu 2.11: preferred disassembler for TCG # preferred disassembler for TCG
BuildRequires: capstone-devel BuildRequires: capstone-devel
# qemu 2.12: parallels disk images require libxml2 now # parallels disk images require libxml2
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
%if %{have_pmem} %if %{have_pmem}
# qemu 3.1: Used for nvdimm # nvdimm
BuildRequires: libpmem-devel BuildRequires: libpmem-devel
%endif %endif
# qemu 3.1: Used for qemu-ga # qemu-ga
BuildRequires: libudev-devel BuildRequires: libudev-devel
# qemu 4.0: Use for qauth infrastructure # qauth infrastructure
BuildRequires: pam-devel BuildRequires: pam-devel
# qemu 4.0: user-mode networking # user-mode networking
BuildRequires: libslirp-devel BuildRequires: libslirp-devel
# qemu 4.0: sphinx-build used for some docs # Documentation build
BuildRequires: python3-sphinx BuildRequires: python3-sphinx
# qemu 4.0: Used by test suite ./scripts/tap-driver.pl # Test suite ./scripts/tap-driver.pl
BuildRequires: perl-Test-Harness BuildRequires: perl-Test-Harness
# Required for making python shebangs versioned # For making python shebangs versioned
BuildRequires: /usr/bin/pathfix.py BuildRequires: /usr/bin/pathfix.py
BuildRequires: python3-devel BuildRequires: python3-devel
%if %{have_liburing} %if %{have_liburing}
# qemu 5.0 liburing support. Library isn't built for arm # liburing support. Library isn't built for arm
BuildRequires: liburing-devel BuildRequires: liburing-devel
%endif %endif
# qemu 5.0 zstd compression support # zstd compression support
BuildRequires: libzstd-devel BuildRequires: libzstd-devel
# `hostname` used by test suite # `hostname` used by test suite
BuildRequires: hostname BuildRequires: hostname
# Used for nvdimm dax # nvdimm dax
BuildRequires: daxctl-devel BuildRequires: daxctl-devel
BuildRequires: glibc-static pcre-static glib2-static zlib-static BuildRequires: glibc-static pcre-static glib2-static zlib-static