From 5934d92d3b30ab41cab3f129e0197648eeb87634 Mon Sep 17 00:00:00 2001 From: Honggang Li Date: Tue, 12 Apr 2016 04:48:41 -0400 Subject: [PATCH] Rebase to latest upstream version 4.3.0-1.49.g9b9af70 Signed-off-by: Honggang Li --- .gitignore | 1 + mstflint.spec | 16 ++++++++++++---- sources | 2 +- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index f7c48bf..b8c65d8 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ noarch/ /mstflint-3.0-0.6.g6961daa.tar.gz /mstflint-4.1.0-1.46.gb1cdaf7.tar.gz /mstflint-4.1.0/ +/mstflint-4.3.0-1.49.g9b9af70.tar.gz diff --git a/mstflint.spec b/mstflint.spec index 0caf203..3c471b8 100644 --- a/mstflint.spec +++ b/mstflint.spec @@ -1,12 +1,14 @@ Name: mstflint Summary: Mellanox firmware burning tool -Version: 4.1.0 -Release: 0.47.gb1cdaf7.1%{?dist} +Version: 4.3.0 +Release: 1.49.g9b9af70.1%{?dist} License: GPLv2+ or BSD Group: Applications/System -Source: https://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-1.46.gb1cdaf7.tar.gz +Source: https://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-1.49.g9b9af70.tar.gz Url: https://www.openfabrics.org -BuildRequires: libstdc++-devel, zlib-devel, libibmad-devel +BuildRequires: libstdc++-devel +BuildRequires: zlib-devel +BuildRequires: libibmad-devel >= 1.3.12 Obsoletes: openib-mstflint <= 1.4 openib-tvflash <= 0.9.2 tvflash <= 0.9.0 ExcludeArch: s390 %{arm} @@ -16,9 +18,12 @@ It also provides access to the relevant source code. %prep %setup -q +find . -type f -iname '*.[ch]' -exec chmod a-x '{}' ';' +find . -type f -iname '*.cpp' -exec chmod a-x '{}' ';' %build export CFLAGS="$RPM_OPT_FLAGS" +export CXXFLAGS="$RPM_OPT_FLAGS -std=gnu++98 -Wno-c++11-compat" %configure make @@ -34,6 +39,9 @@ rm -fr %{buildroot}%{_libdir} %_bindir/* %changelog +* Fri Apr 8 2016 Honggang Li - 4.3.0-1.49.g9b9af70.1 +- Rebase to latest upstream version 4.3.0-1.49.g9b9af70. + * Thu Feb 04 2016 Fedora Release Engineering - 4.1.0-0.47.gb1cdaf7.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 9b28586..f6442a0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -030179e989e09562320e11511648f4e7 mstflint-4.1.0-1.46.gb1cdaf7.tar.gz +65d0de5cacccf9ae76d3c1d650fe875b mstflint-4.3.0-1.49.g9b9af70.tar.gz