diff --git a/abe.spec b/abe.spec index 01ec067..a38b5bc 100644 --- a/abe.spec +++ b/abe.spec @@ -1,6 +1,6 @@ Name: abe Version: 1.1 -Release: 37%{?dist} +Release: 38%{?dist} Summary: Scrolling, platform-jumping, ancient pyramid exploring game License: GPL+ @@ -52,10 +52,10 @@ mv -f COPYING.new COPYING %build %configure --with-data-dir=%{_datadir}/%{name} sed -i "s|^CFLAGS =.*|CFLAGS = ${RPM_OPT_FLAGS} \$\(SDL_CFLAGS\)|" src/Makefile -make %{?_smp_mflags} +%make_build %install -make DESTDIR=$RPM_BUILD_ROOT install +%make_install # make install does not copy the game data files. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name} @@ -89,6 +89,10 @@ desktop-file-install --dir $RPM_BUILD_ROOT/%{_datadir}/applications/ %{name}.des %{_datadir}/icons/hicolor/*/apps/%{name}.png %changelog +* Tue Jul 14 2020 Tom Stellard - 1.1-38 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue Jan 28 2020 Fedora Release Engineering - 1.1-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild