SHA256
1
0
forked from pool/mstflint

Accepting request 289862 from OFED:Factory

1

OBS-URL: https://build.opensuse.org/request/show/289862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mstflint?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2015-03-11 08:57:39 +00:00 committed by Git OBS Bridge
parent 5ea073883f
commit 814092ddfb
5 changed files with 23 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3c007bc950a05507f2bbbe4669a98f87478bc51c9d722a58fc163a4d8d55e2e
size 1009956

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a031ca5645e10b6137f9c027371ecabe53c53c6d1797ae57a2cefc247d7baa45
size 1158577

View File

@ -6,19 +6,11 @@ Index: configure.ac
=================================================================== ===================================================================
--- configure.ac.orig 2014-05-14 04:09:28.079178181 +0200 --- configure.ac.orig 2014-05-14 04:09:28.079178181 +0200
+++ configure.ac 2014-05-14 04:13:35.515332301 +0200 +++ configure.ac 2014-05-14 04:13:35.515332301 +0200
@@ -1,6 +1,6 @@ @@ -10,13 +10,13 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(mstflint, 3.6.0, orenk@mellanox.co.il)
+AC_INIT([mstflint], [3.6.0], [orenk@mellanox.co.il])
AC_DEFINE_UNQUOTED([PROJECT], ["mstflint"], [Define the project name.])
AC_SUBST([PROJECT])
@@ -10,13 +10,13 @@ AC_SUBST([VERSION])
AC_CONFIG_AUX_DIR(config) AC_CONFIG_AUX_DIR(config)
AC_CONFIG_SRCDIR([README]) AC_CONFIG_SRCDIR([README])
-AM_INIT_AUTOMAKE(mstflint, 3.6.0) -AM_INIT_AUTOMAKE(mstflint, 4.0.0)
+AM_INIT_AUTOMAKE([-Wall foreign]) +AM_INIT_AUTOMAKE([-Wall foreign])
dnl Checks for programs dnl Checks for programs
@ -31,9 +23,9 @@ Index: configure.ac
+AC_PROG_LIBTOOL() +AC_PROG_LIBTOOL()
+AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_HEADERS([config.h])
AC_MSG_CHECKING(--enable-dc argument) dnl Checks for headers
AC_ARG_ENABLE(dc, AC_CHECK_HEADER(termios.h,[CXXFLAGS="${CXXFLAGS} -DHAVE_TERMIOS_H"])
@@ -47,9 +47,23 @@ AM_CONDITIONAL(ENABLE_INBAND, [test "x$ @@ -50,9 +50,24 @@
CFLAGS="$CFLAGS -Werror -DMST_UL" CFLAGS="$CFLAGS -Werror -DMST_UL"
CXXFLAGS="$CXXFLAGS -Werror -DMST_UL" CXXFLAGS="$CXXFLAGS -Werror -DMST_UL"
@ -45,6 +37,7 @@ Index: configure.ac
+ dev_mgt/Makefile \ + dev_mgt/Makefile \
+ tools_layouts/Makefile \ + tools_layouts/Makefile \
+ reg_access/Makefile \ + reg_access/Makefile \
+ cmdif/Makefile \
+ mlxconfig/Makefile \ + mlxconfig/Makefile \
+ mflash/Makefile \ + mflash/Makefile \
+ mlxfwops/Makefile \ + mlxfwops/Makefile \
@ -56,7 +49,7 @@ Index: configure.ac
+ mstdump/crd_main/Makefile \ + mstdump/crd_main/Makefile \
+ mstdump/mstdump_dbs/Makefile ) + mstdump/mstdump_dbs/Makefile )
-AC_OUTPUT( Makefile mft_utils/Makefile mtcr_ul/Makefile dev_mgt/Makefile tools_layouts/Makefile reg_access/Makefile mlxconfig/Makefile \ -AC_OUTPUT( Makefile mft_utils/Makefile mtcr_ul/Makefile dev_mgt/Makefile tools_layouts/Makefile reg_access/Makefile cmdif/Makefile mlxconfig/Makefile \
- mflash/Makefile mlxfwops/Makefile mlxfwops/lib/Makefile cmdparser/Makefile flint/Makefile \ - mflash/Makefile mlxfwops/Makefile mlxfwops/lib/Makefile cmdparser/Makefile flint/Makefile \
- small_utils/Makefile mstdump/Makefile mstdump/crd_lib/Makefile mstdump/crd_main/Makefile mstdump/mstdump_dbs/Makefile ) - small_utils/Makefile mstdump/Makefile mstdump/crd_lib/Makefile mstdump/crd_main/Makefile mstdump/mstdump_dbs/Makefile )
+AC_OUTPUT() +AC_OUTPUT()

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Mar 8 10:46:01 UTC 2015 - p.drouand@gmail.com
- Update to version 4.0.0
* No changelog available
- Use download Url as source
- Update mstflint-autotools.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 8 19:27:26 CEST 2014 - pth@suse.de Fri Aug 8 19:27:26 CEST 2014 - pth@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package mstflint # spec file for package mstflint
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,15 +15,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%define extra_version -1.8.g7d4dede %define extra_version -1.30.g00eb005
Name: mstflint Name: mstflint
Summary: Mellanox Firmware Burning and Diagnostics Tools Summary: Mellanox Firmware Burning and Diagnostics Tools
License: GPL-2.0 or BSD-2-Clause License: GPL-2.0 or BSD-2-Clause
Group: System/Console Group: System/Console
Version: 3.6.0 Version: 4.0.0
Release: 0 Release: 0
Source0: %{name}-%{version}%{extra_version}.tar.gz Source0: https://www.openfabrics.org/downloads/mstflint/%{name}-%{version}%{extra_version}.tar.gz
# PATCH-FIX-UPSTREAM Declare package as foreign and other autotools stuff pth@suse.de # PATCH-FIX-UPSTREAM Declare package as foreign and other autotools stuff pth@suse.de
Patch0: mstflint-autotools.patch Patch0: mstflint-autotools.patch
# PATCH-FIX-UPSTREAM Add all needed defines to get it built on s390x # PATCH-FIX-UPSTREAM Add all needed defines to get it built on s390x
@ -67,7 +67,7 @@ make CFLAGS="%{optflags} -I. -fno-exceptions"
%install %install
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
rm -ff %{buildroot}%{_includedir}/mtcr_ul/mtcr.h rm -f %{buildroot}%{_includedir}/mtcr_ul/mtcr.h
rm -f %{buildroot}%{_libdir}/libmtcr_ul.a rm -f %{buildroot}%{_libdir}/libmtcr_ul.a
#%%post -p /sbin/ldconfig #%%post -p /sbin/ldconfig