From 879205f9b37196898074a953852fad71ed79c3b8 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 13 Jul 2020 23:03:16 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- mstflint.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mstflint.spec b/mstflint.spec index f8a0548..718d9a8 100644 --- a/mstflint.spec +++ b/mstflint.spec @@ -3,7 +3,7 @@ Name: mstflint Summary: Mellanox firmware burning tool Version: 4.14.0 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ or BSD Group: Applications/System Source: https://github.com/Mellanox/mstflint/releases/download/v4.14.0-3/mstflint-4.14.0-3.tar.gz @@ -40,7 +40,7 @@ find . -type f -iname '*.cpp' -exec chmod a-x '{}' ';' %make_build %install -make DESTDIR=%{buildroot} install +%make_install # Remove the devel files that we don't ship rm -fr %{buildroot}%{_includedir} find %{buildroot} -type f -name '*.la' -delete @@ -56,6 +56,10 @@ find %{buildroot} -type f -name '*.a' -delete %{_mandir}/man1/* %changelog +* Mon Jul 13 2020 Tom Stellard - 4.14.0-4 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Mon Jun 22 2020 Honggang Li - 4.14.0-3 - Rebase mstflint to latest upstream release v4.14.0-3