From a99aa74382f2fd349588e72fad9b0153e7c5a72d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Mon, 15 Mar 2021 08:15:32 +0100 Subject: [PATCH] Use cmake_build and make_install macros --- freeglut.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/freeglut.spec b/freeglut.spec index 7e8da9e..e55881b 100644 --- a/freeglut.spec +++ b/freeglut.spec @@ -2,7 +2,7 @@ Summary: A freely licensed alternative to the GLUT library Name: freeglut Version: 3.2.1 -Release: 8%{?dist} +Release: 9%{?dist} URL: http://freeglut.sourceforge.net Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz # For the manpages @@ -56,11 +56,11 @@ license. %build %{cmake} -DFREEGLUT_BUILD_STATIC_LIBS=OFF . -make %{?_smp_mflags} +%{cmake_build} %install -make install DESTDIR=$RPM_BUILD_ROOT +%{make_install} mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3 install -p -m 644 doc/man/*.3 $RPM_BUILD_ROOT/%{_mandir}/man3 @@ -82,6 +82,9 @@ install -p -m 644 doc/man/*.3 $RPM_BUILD_ROOT/%{_mandir}/man3 %{_libdir}/cmake/FreeGLUT/* %changelog +- Mon Mar 15 2021 Timm Bäder - 3.2.1-9 +- Use cmake_build and make_install macros + * Fri Mar 12 2021 Adam Jackson - 3.2.1-8 - Drop legacy BuildRequires: libXxf86vm-devel