#1 Use make macros
Merged 3 years ago by limb. Opened 3 years ago by tstellar.
rpms/ tstellar/abe make-macros  into  master

file modified
+7 -3
@@ -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 @@ 

  %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 @@ 

  %{_datadir}/icons/hicolor/*/apps/%{name}.png

  

  %changelog

+ * Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 1.1-38

+ - Use make macros

+ - https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro

+ 

  * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-37

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

  

This pull request was create automatically for the f33 change:
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro

Please review the patch and if you approve the changes, merge it after the simple-koji-ci test passes.

This pull request will be automatically merged in 1 week if there are not objections.

Pull-Request has been merged by limb

3 years ago