Non-bootstraped build must employ cmake() generators

When building non-boostrapped cmake but with disabled some features,
cmake-data won't get into build root and cmake(FindPkg) and
cmake(UsePkg) Provides will be missing from just-built cmake-data
package. (This bug is not visible with full-fledged build because
cmake-data with the RPM dependency generator is installed
transitively).

This patch ensures that cmake-data is in the build root when not
bootstrapping.
This commit is contained in:
Petr Písař 2017-10-05 15:22:03 +02:00
parent e0724780f7
commit 8983c63ac8

View File

@ -122,6 +122,8 @@ BuildRequires: ncurses-devel
%endif %endif
%if %{without bootstrap} %if %{without bootstrap}
BuildRequires: bzip2-devel BuildRequires: bzip2-devel
# for generating cmake() Provides, bug #1498894
BuildRequires: cmake-data
BuildRequires: curl-devel BuildRequires: curl-devel
BuildRequires: expat-devel BuildRequires: expat-devel
BuildRequires: jsoncpp-devel BuildRequires: jsoncpp-devel