import mstflint-4.13.1-1.el8

This commit is contained in:
CentOS Sources 2020-01-21 11:48:40 -05:00 committed by Stepan Oksanichenko
parent 8e5a1a68df
commit bab6c8a255
3 changed files with 8 additions and 13 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/mstflint-4.12.0-1.tar.gz
SOURCES/mstflint-4.13.1-1.tar.gz

View File

@ -1 +1 @@
6dbd1b010078f1f3853a57a05495cdf0cddce876 SOURCES/mstflint-4.12.0-1.tar.gz
254b7f0cd25a70f0cec5a73a873f7856e8283702 SOURCES/mstflint-4.13.1-1.tar.gz

View File

@ -2,11 +2,11 @@
Name: mstflint
Summary: Mellanox firmware burning tool
Version: 4.12.0
Version: 4.13.1
Release: 1%{?dist}
License: GPLv2+ or BSD
Group: Applications/System
Source: https://github.com/Mellanox/mstflint/releases/download/v4.12.0-1/mstflint-4.12.0-1.tar.gz
Source: https://github.com/Mellanox/mstflint/releases/download/v4.13.1-1/mstflint-4.13.1-1.tar.gz
Patch2: 0001-Fix-shebang-for-python-scripts.patch
Patch3: extend-buffer.patch
Patch4: add-default-link-flags-for-shared-libraries.patch
@ -47,15 +47,6 @@ make DESTDIR=%{buildroot} install
rm -fr %{buildroot}%{_includedir}
find %{buildroot} -type f -name '*.la' -delete
find %{buildroot} -type f -name '*.a' -delete
# python scripts with shebang should be installed as executable
find %{buildroot} -type f -name test.py -exec chmod -v a+x '{}' ';'
find %{buildroot} -type f -name mstfwreset.py -exec chmod -v a+x '{}' ';'
find %{buildroot} -type f -name mlxfwreset_mlnxdriver.py -exec chmod -v a+x '{}' ';'
find %{buildroot} -type f -name mlnx_peripheral_components.py -exec chmod -v a+x '{}' ';'
find %{buildroot} -type f -name mlxfwreset_status_checker.py -exec chmod -v a+x '{}' ';'
find %{buildroot} -type f -name mcra.py -exec chmod -v a+x '{}' ';'
find %{buildroot} -type f -name mlxfwreset_utils.py -exec chmod -v a+x '{}' ';'
find %{buildroot} -type f -name pci_device.py -exec chmod -v a+x '{}' ';'
%files
%doc README
@ -67,6 +58,10 @@ find %{buildroot} -type f -name pci_device.py -exec chmod -v a+x '{}' ';'
%{_mandir}/man1/*
%changelog
* Wed Oct 30 2019 Honggang Li <honli@redhat.com> - 4.13.1-1
- Rebase to latest upstream release v4.13.1-1
- Resolves: bz1722258
* Thu Jun 13 2019 Honggang Li <honli@redhat.com> - 4.12.0-1
- Rebase to latest upstream release v4.12.0-1
- Resolves: bz1683083