diff --git a/.gitignore b/.gitignore
index 20267d8..5ef6d0e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,4 @@ noarch/
 /mstflint-4.4.0-1.12.gd1edd58.tar.gz
 /mstflint-4.6.0.tar.gz
 /mstflint-4.8.0.tar.gz
+/mstflint-4.10.0.tar.gz
diff --git a/mstflint.spec b/mstflint.spec
index 89d4348..8379a67 100644
--- a/mstflint.spec
+++ b/mstflint.spec
@@ -1,14 +1,12 @@
 Name:		mstflint
 Summary:	Mellanox firmware burning tool
-Version:	4.8.0
-Release:	5%{?dist}
+Version:	4.10.0
+Release:	1%{?dist}
 License:	GPLv2+ or BSD
 Group:		Applications/System
 Source: 	https://github.com/Mellanox/%{name}/files/1457191/%{name}-%{version}.tar.gz
-Patch1: 	0001-Extend-buffer-for-a-few-arrays.patch
-Patch2: 	0001-Return-zero-when-fread-reach-the-end-of-vpd-file.patch
 Url:		https://github.com/Mellanox/mstflint
-BuildRequires:	libstdc++-devel, zlib-devel, libibmad-devel, gcc-c++
+BuildRequires:	libstdc++-devel, zlib-devel, libibmad-devel, gcc-c++, gcc
 BuildRequires:  libcurl-devel, boost-devel, libxml2-devel, openssl-devel
 Obsoletes:	openib-mstflint <= 1.4 openib-tvflash <= 0.9.2 tvflash <= 0.9.0
 ExcludeArch:	s390 s390x %{arm}
@@ -19,14 +17,12 @@ for network adapters based on Mellanox Technologies chips.
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
 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"
+export CXXFLAGS="$RPM_OPT_FLAGS"
 %configure --enable-fw-mgr
 %make_build
 
@@ -47,6 +43,10 @@ find %{buildroot} -type f -name libmtcr_ul.a -delete
 %{_mandir}/man1/*
 
 %changelog
+* Tue Jul 10 2018 Honggang Li <honli@redhat.com> - 4.10.0-1
+- Rebase to latest upstream release v4.10.0-1
+- Resolves: bz1550400
+
 * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.0-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
 
diff --git a/sources b/sources
index 29d4872..ea9d4af 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mstflint-4.8.0.tar.gz) = 76c7aabdc087da86891526145173a7f23482922fdea78a6a1e3decdcb62911e664f10fee97b9c90579797e55d61ae316801eda1ce7d8d246bdebb0fd509265c2
+SHA512 (mstflint-4.10.0.tar.gz) = c199d020a66dab0cfe578cd7158d75a86f8853cdc5aa8d683c0f15831bebe071fdcc0579d745aa794e08d9754590bef5d33210219fa9e4a0b33f47fb8349b49c