spec: collect all BuildRequires into one area

Conditional BuildRequires: should be at the top level, rather
than appearing in conditional sub-package sections.  This
appears to be the only offender.

* libvirt.spec.in (BuildRequires): Move libblkid-devel into
correct area.

Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Eric Blake 2013-05-01 14:16:10 -06:00
parent 364554a01b
commit e2472e6957

View File

@ -412,6 +412,10 @@ BuildRequires: gettext
BuildRequires: libtasn1-devel BuildRequires: libtasn1-devel
BuildRequires: gnutls-devel BuildRequires: gnutls-devel
BuildRequires: libattr-devel BuildRequires: libattr-devel
%if %{with_libvirtd}
# For pool-build probing for existing pools
BuildRequires: libblkid-devel >= 2.17
%endif
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
# for augparse, optionally used in testing # for augparse, optionally used in testing
BuildRequires: augeas BuildRequires: augeas
@ -655,8 +659,6 @@ Requires: PolicyKit >= 0.6
Requires: nfs-utils Requires: nfs-utils
# For mkfs # For mkfs
Requires: util-linux Requires: util-linux
# For pool-build probing for existing pools
BuildRequires: libblkid-devel >= 2.17
# For glusterfs # For glusterfs
%if 0%{?fedora} >= 11 %if 0%{?fedora} >= 11
Requires: glusterfs-client >= 2.0.1 Requires: glusterfs-client >= 2.0.1