From 6287aa9f51132c3714e508459f2b2d804d730988 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 29 Jul 2020 14:31:21 -0500 Subject: [PATCH] %cmake_kf5: +%undefine __cmake_in_source_build --- kf5.spec | 5 ++++- macros.kf5 | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/kf5.spec b/kf5.spec index 69d1b6c..e626b7b 100644 --- a/kf5.spec +++ b/kf5.spec @@ -1,6 +1,6 @@ Name: kf5 Version: 5.72.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Filesystem and RPM macros for KDE Frameworks 5 License: BSD URL: http://www.kde.org @@ -82,6 +82,9 @@ sed -i \ %changelog +* Wed Jul 29 2020 Rex Dieter - 5.72.0-5 +- %%cmake_kf5: +%%undefine __cmake_in_source_build + * Tue Jul 28 2020 Fedora Release Engineering - 5.72.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/macros.kf5 b/macros.kf5 index 0c23cc7..fb0b67f 100644 --- a/macros.kf5 +++ b/macros.kf5 @@ -15,7 +15,8 @@ %_kf5_qmldir %_kf5_archdatadir/qml %_kf5_version @@KF5_VERSION@@ -%cmake_kf5 \ +%cmake_kf5 \\\ + %undefine __cmake_in_source_build \ QTDIR="%{_qt5_prefix}" ; export QTDIR ; \ PATH="%{_qt5_bindir}:$PATH" ; export PATH ; \ CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \