guard BR: cmake-rpm-macros by %without bootstrap

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-16 00:41:55 +01:00
parent 45a4213d84
commit ad455e5e72

View File

@ -166,8 +166,10 @@ BuildRequires: qt-devel
BuildRequires: desktop-file-utils
%endif
%if %{without bootstrap}
# Ensure we have our own rpm-macros in place during build.
BuildRequires: %{name}-rpm-macros
%endif
Requires: %{name}-data = %{version}-%{release}
Requires: %{name}-rpm-macros = %{version}-%{release}