From 83e2cbae7f4c892287f783e2cee19fa2da24f492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Wed, 10 Feb 2021 08:51:49 +0100 Subject: [PATCH] Use make macros https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make --- Box2D.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Box2D.spec b/Box2D.spec index 262a9ba..b1793ce 100644 --- a/Box2D.spec +++ b/Box2D.spec @@ -1,7 +1,7 @@ %global __cmake_in_source_build 1 Name: Box2D Version: 2.4.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A 2D Physics Engine for Games License: zlib @@ -36,10 +36,10 @@ rm -rf glew glfw %build %cmake -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON . -make +%cmake_build %install -make install DESTDIR=%{buildroot} +%make_install %ldconfig_scriptlets @@ -54,6 +54,9 @@ make install DESTDIR=%{buildroot} %{_libdir}/cmake/box2d/*.cmake %changelog +* Wed Feb 10 2021 Timm Bäder - 2.4.1-3 +- Use make macros + * Mon Jan 25 2021 Fedora Release Engineering - 2.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild