From 344663b99582f59b7eb53fb9ea2e39e9ef6a3f0c Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Wed, 31 Jul 2019 09:33:34 -0700 Subject: [PATCH] rhel8 doesn't need cmake3, just cmake --- kf5.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kf5.spec b/kf5.spec index 6d6cd6e..f6494c1 100644 --- a/kf5.spec +++ b/kf5.spec @@ -1,6 +1,6 @@ Name: kf5 Version: 5.59.0 -Release: 1%{?dist} +Release: 1%{?dist}.1 Summary: Filesystem and RPM macros for KDE Frameworks 5 License: BSD URL: http://www.kde.org @@ -49,6 +49,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 @@ -73,6 +76,9 @@ sed -i \ %changelog +* Thu Jun 27 2019 Troy Dawson - 5.59.0-1.1 +- rhel8 doesn't need cmake3, just cmake + * Thu Jun 06 2019 Rex Dieter - 5.59.0-1 - 5.59.0