diff --git a/colobot.spec b/colobot.spec index 3281a9e..85dd43f 100644 --- a/colobot.spec +++ b/colobot.spec @@ -1,8 +1,8 @@ -Name: colobot +Name: colobot %global orgname info.colobot.Colobot Version: 0.1.12 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A video game that teaches programming in a fun way License: GPLv3 @@ -142,16 +142,12 @@ sed \ %build -mkdir build -cd build -%cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=%{__python3} .. -make %{?_smp_mflags} +%cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=%{__python3} ./ +%cmake_build %install -pushd build -%make_install -popd +%cmake_install # Change the .desktop file name to match the .appdata.xml file name mv %{buildroot}%{_datadir}/applications/%{name}.desktop %{buildroot}%{_datadir}/applications/%{orgname}.desktop @@ -191,6 +187,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{orgname}.app %changelog +* Tue Jul 28 2020 Artur Iwicki - 0.1.12-9 +- Update spec to use the new cmake_build and cmake_install macros + * Mon Jul 27 2020 Fedora Release Engineering - 0.1.12-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild