Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
36806a5c72
commit
879205f9b3
@ -3,7 +3,7 @@
|
|||||||
Name: mstflint
|
Name: mstflint
|
||||||
Summary: Mellanox firmware burning tool
|
Summary: Mellanox firmware burning tool
|
||||||
Version: 4.14.0
|
Version: 4.14.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv2+ or BSD
|
License: GPLv2+ or BSD
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Source: https://github.com/Mellanox/mstflint/releases/download/v4.14.0-3/mstflint-4.14.0-3.tar.gz
|
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
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install
|
%make_install
|
||||||
# Remove the devel files that we don't ship
|
# Remove the devel files that we don't ship
|
||||||
rm -fr %{buildroot}%{_includedir}
|
rm -fr %{buildroot}%{_includedir}
|
||||||
find %{buildroot} -type f -name '*.la' -delete
|
find %{buildroot} -type f -name '*.la' -delete
|
||||||
@ -56,6 +56,10 @@ find %{buildroot} -type f -name '*.a' -delete
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 4.14.0-4
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
* Mon Jun 22 2020 Honggang Li <honli@redhat.com> - 4.14.0-3
|
* Mon Jun 22 2020 Honggang Li <honli@redhat.com> - 4.14.0-3
|
||||||
- Rebase mstflint to latest upstream release v4.14.0-3
|
- Rebase mstflint to latest upstream release v4.14.0-3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user