rhel8 doesn't need cmake3, just cmake

epel8
Troy Dawson 6 years ago
parent 4444da6431
commit 344663b995

@ -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 <tdawson@redhat.com> - 5.59.0-1.1
- rhel8 doesn't need cmake3, just cmake
* Thu Jun 06 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.59.0-1
- 5.59.0

Loading…
Cancel
Save