Add gcc and gcc-c++ to BuildRequires

This commit is contained in:
Marian Csontos 2018-03-05 10:09:57 +01:00
parent cf8f8536d1
commit 2c1f6c8e80

View File

@ -71,6 +71,10 @@ Patch1: lvm2-lvmetad-timeout.patch
# Upstream: 3f9ae846b89a
Patch2: lvm2-2_02_178-lvmlockd-fix-uninitialized.patch
BuildRequires: gcc
%if %{enable_testsuite}
BuildRequires: gcc-c++
%endif
BuildRequires: libselinux-devel >= %{libselinux_version}, libsepol-devel
BuildRequires: libblkid-devel >= %{util_linux_version}
BuildRequires: ncurses-devel
@ -134,7 +138,6 @@ or more physical volumes and creating one or more logical volumes
%global _default_locking_dir /run/lock/lvm
%global _udevdir %{_prefix}/lib/udev/rules.d
%global _tmpfilesdir %{_prefix}/lib/tmpfiles.d
%global configure_udev --with-udevdir=%{_udevdir} --enable-udev_sync