commit 50f15d9878a7456c89afbbaccedea6750ea350f0
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Wed Aug 19 09:43:49 2020 +0100
Improve compatibility with new CMake macro
dwarftherapist.spec | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/dwarftherapist.spec b/dwarftherapist.spec
index d9b9dfa..0b897bf 100644
--- a/dwarftherapist.spec
+++ b/dwarftherapist.spec
@@ -1,3 +1,5 @@
+%undefine __cmake_in_source_build
+
Name: dwarftherapist
Version: 41.1.7
Release: 2%{?dist}
@@ -8,7 +10,7 @@ URL:
https://github.com/Dwarf-Therapist/Dwarf-Therapist
Source0:
https://github.com/Dwarf-Therapist/Dwarf-Therapist/archive/v%{version}/dw...
# Need cmake.
-BuildRequires: cmake
+BuildRequires: cmake3
# Qt5 dependencies.
BuildRequires: qt5-qtbase-devel
@@ -76,11 +78,11 @@ package.
dos2unix CHANGELOG.txt
%build
-%cmake
-%make_build
+%cmake3
+%cmake3_build
%install
-%make_install
+%cmake3_install
# Check the desktop file.
desktop-file-validate %{buildroot}/%{_datadir}/applications/dwarftherapist.desktop