From 40d775c8387de165cea5834cc0b9032839b87428 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 13 Jul 2020 23:03:48 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- mtdev.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/mtdev.spec b/mtdev.spec index 55fef39..136bfa2 100644 --- a/mtdev.spec +++ b/mtdev.spec @@ -3,7 +3,7 @@ Name: mtdev Version: 1.1.5 -Release: 16%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 17%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} Summary: Multitouch Protocol Translation Library License: MIT @@ -41,11 +41,11 @@ Multitouch protocol translation library development package. %build autoreconf --force -v --install || exit 1 %configure --disable-static -make %{?_smp_mflags} +%make_build %install rm -rf %{buildroot} -make install DESTDIR=%{buildroot} INSTALL="install -p" +%make_install # We intentionally don't ship *.la files rm -f %{buildroot}%{_libdir}/*.la @@ -65,6 +65,10 @@ rm -f %{buildroot}%{_libdir}/*.la %{_bindir}/mtdev-test %changelog +* Mon Jul 13 2020 Tom Stellard - 1.1.5-17 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jan 29 2020 Fedora Release Engineering - 1.1.5-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild