From 8983c63ac85834e612a919e05418f3d97cc6ce61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 5 Oct 2017 15:22:03 +0200 Subject: [PATCH] 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. --- cmake.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake.spec b/cmake.spec index c5b905b..156dcf6 100644 --- a/cmake.spec +++ b/cmake.spec @@ -122,6 +122,8 @@ BuildRequires: ncurses-devel %endif %if %{without bootstrap} BuildRequires: bzip2-devel +# for generating cmake() Provides, bug #1498894 +BuildRequires: cmake-data BuildRequires: curl-devel BuildRequires: expat-devel BuildRequires: jsoncpp-devel