Only package cmake-devel when building a snapshot package and when NOT building in compat mode

This commit is contained in:
Konrad Kleine 2022-01-12 13:38:40 +01:00 committed by Timm Bäder
parent 40998353e9
commit a183e0b7c9

View file

@ -212,11 +212,13 @@ Requires(postun): /sbin/ldconfig
%description libs %description libs
Shared libraries for the LLVM compiler infrastructure. Shared libraries for the LLVM compiler infrastructure.
%if %{without compat_build} && %{with snapshot_build}
%package cmake-devel %package cmake-devel
Summary: LLVM Shared development CMake files Summary: LLVM Shared development CMake files
%description cmake-devel %description cmake-devel
Some CMake files that are shared by LLVM sub-projects when building. Some CMake files that are shared by LLVM sub-projects when building.
%endif
%package static %package static
Summary: LLVM static libraries Summary: LLVM static libraries