From feace631daad44a2065ee1eca02664947ca7b6fb Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Oct 01 2020 15:25:23 +0000 Subject: Migrated to %cmake_build/_install See: https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds#Migration --- diff --git a/flare-engine.spec b/flare-engine.spec index eb24a67..02151d6 100644 --- a/flare-engine.spec +++ b/flare-engine.spec @@ -42,11 +42,11 @@ This package contains the engine only. %build %cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DBINDIR="bin" -DDATADIR="share/%{shortname}/" . -make %{?_smp_mflags} +%cmake_build %install -make install DESTDIR=%{buildroot} +%cmake_install # Use system fonts find %{buildroot}%{_datadir}/%{shortname}/ -name "*.ttf" -delete -print