diff --git a/.gitignore b/.gitignore index 03e7918..dc68ff9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/mstflint-4.0.1-1.42.g0d3b372.tar.gz +SOURCES/mstflint-4.3.0-1.49.g9b9af70.tar.gz diff --git a/.mstflint.metadata b/.mstflint.metadata index 1db72fc..99a009c 100644 --- a/.mstflint.metadata +++ b/.mstflint.metadata @@ -1 +1 @@ -944fd1694aa02b2d6944859301a0aaecbd4d43aa SOURCES/mstflint-4.0.1-1.42.g0d3b372.tar.gz +855bec1f6d33277857bf2c19eccdc20cbc8e08db SOURCES/mstflint-4.3.0-1.49.g9b9af70.tar.gz diff --git a/SPECS/mstflint.spec b/SPECS/mstflint.spec index 3274b39..3955974 100644 --- a/SPECS/mstflint.spec +++ b/SPECS/mstflint.spec @@ -1,12 +1,11 @@ Name: mstflint Summary: Mellanox firmware burning tool -Version: 4.0.1 -Release: 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.42.g0d3b372.tar.gz +Source: https://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-1.49.g9b9af70.tar.gz Url: http://www.openfabrics.org -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libstdc++-devel, zlib-devel, libibmad-devel Obsoletes: openib-mstflint <= 1.4 openib-tvflash <= 0.9.2 tvflash <= 0.9.0 ExcludeArch: s390 s390x @@ -17,28 +16,32 @@ 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 -%configure CFLAGS="$CFLAGS -fno-strict-aliasing" -make +export CFLAGS="$RPM_OPT_FLAGS" +export CXXFLAGS="$RPM_OPT_FLAGS -std=gnu++98 -Wno-c++11-compat" +%configure +%make_build %install -rm -rf %{buildroot} make DESTDIR=%{buildroot} install # Remove the devel files that we don't ship rm -fr %{buildroot}%{_includedir} rm -fr %{buildroot}%{_datadir} rm -fr %{buildroot}%{_libdir}/*.a -%clean -rm -rf %{buildroot} - %files -%defattr(-, root, root) %doc README %_bindir/* %changelog +* Wed Apr 20 2016 Honggang Li - 4.3.0-1.49.g9b9af70.1 +- Rebase to latest upstream version 4.3.0-1.49.g9b9af70. +- Spec file cleanup. +- Related: bz1277500 + * Mon Jun 22 2015 Michal Schmidt - 4.0.1-1 - Update to latest upstream release. - Related: bz1164542