diff --git a/raceintospace.spec b/raceintospace.spec index fdd54b2..11260ba 100644 --- a/raceintospace.spec +++ b/raceintospace.spec @@ -1,6 +1,8 @@ %bcond_with copr %bcond_with snapshot +%undefine __cmake_in_source_build + %global archive_suffix tar.gz %global commit 623777f %global date 20191012 @@ -27,7 +29,7 @@ Name: raceintospace Version: 1.2.0 -Release: 4%{?snapinfo:.%{snapinfo}}%{?dist} +Release: 5%{?snapinfo:.%{snapinfo}}%{?dist} Summary: Race into Space game License: GPLv2+ @@ -94,23 +96,16 @@ export CFLAGS=`echo '%optflags' | sed -e 's/ -fstack-clash-protection//'` export CXXFLAGS="$CFLAGS" %endif %autosetup -p1 -n %{name}-%{pkgversion} -mkdir build -pushd build -%cmake -DBUILD_PHYSFS=OFF .. -popd %build -pushd build -%make_build -popd +%cmake -DBUILD_PHYSFS=OFF +%cmake_build pushd doc/manual pandoc -o manual.html manual.md popd %install -pushd build -%make_install -popd +%cmake_install install -d %{buildroot}%{_metainfodir} install -m 0644 doc/raceintospace.appdata.xml %{buildroot}%{_metainfodir}/%{name}.appdata.xml @@ -133,6 +128,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat %doc doc/manual %changelog +* Tue Aug 11 2020 Petr Menšík - 1.2.0-5 +- Update macros, fix build in rawhide (#1865359) + * Sat Aug 01 2020 Fedora Release Engineering - 1.2.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild