From 730bbb4a64037766d0fa4c8a5860187960892592 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Fri, 10 Jul 2020 15:43:16 -0700 Subject: [PATCH] tweak rhel8+ cmake statement --- kf5.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kf5.spec b/kf5.spec index 562592a..2ef525f 100644 --- a/kf5.spec +++ b/kf5.spec @@ -51,8 +51,8 @@ mkdir -p %{buildroot}%{_sysconfdir}/xdg/plasma-workspace/{env,shutdown} install -Dpm644 %{_sourcedir}/macros.kf5 %{buildroot}%{_rpmconfigdir}/macros.d/macros.kf5 sed -i \ -e "s|@@KF5_VERSION@@|%{version}|g" \ -%if 0%{?rhel} || 0%{?rhel} > 7 - -e 's|rhel:%{__cmake3}|rhel:%{__cmake}|' \ +%if 0%{?rhel} && 0%{?rhel} > 7 + -e 's|%{?fedora:%{__cmake}}%{?rhel:%{__cmake3}}| %{__cmake}|' \ %endif %{buildroot}%{_rpmconfigdir}/macros.d/macros.kf5