From 150f3c28c408590edfc3778520918f612b5d380a Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Jul 29 2020 05:35:32 +0000 Subject: Build using cmake macros --- diff --git a/plymouth-theme-breeze.spec b/plymouth-theme-breeze.spec index ab87fca..7a9718d 100644 --- a/plymouth-theme-breeze.spec +++ b/plymouth-theme-breeze.spec @@ -38,17 +38,12 @@ Requires: plymouth-plugin-script %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd - - -make %{?_smp_flags} -C %{_target_platform} +%{cmake_kf5} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install install -D -m644 -p %{SOURCE10} \ %{buildroot}%{_prefix}/lib/dracut/dracut.conf.d/10-plymouth-theme-breeze.conf