diff --git a/kfloppy.spec b/kfloppy.spec index d69dfdb..a1b42d1 100644 --- a/kfloppy.spec +++ b/kfloppy.spec @@ -1,3 +1,4 @@ +%undefine __cmake_in_source_build Name: kfloppy Summary: Floppy formatting tool Version: 20.04.3 @@ -45,16 +46,12 @@ to format 3.5" and 5.25" floppy disks. %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd - -make %{?_smp_mflags} -C %{_target_platform} +%{cmake_kf5} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install %find_lang %{name} --all-name --with-html