From 1c7c40b3d5361a8883701ec556f8f3206028c55d Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Wed, 11 Dec 2019 12:42:48 -0800 Subject: [PATCH] rhel8 does not use cmake3, just cmake --- kf5.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kf5.spec b/kf5.spec index 7b89b17..310c4e9 100644 --- a/kf5.spec +++ b/kf5.spec @@ -1,6 +1,6 @@ Name: kf5 Version: 5.64.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Filesystem and RPM macros for KDE Frameworks 5 License: BSD URL: http://www.kde.org @@ -51,6 +51,9 @@ 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}|' \ +%endif %{buildroot}%{_rpmconfigdir}/macros.d/macros.kf5 @@ -77,6 +80,9 @@ sed -i \ %changelog +* Wed Dec 11 2019 Troy Dawson - 5.64.0-2 +- rhel8 doesn't need cmake3, just cmake + * Fri Nov 08 2019 Rex Dieter - 5.64.0-1 - 5.64