From c874c7a4811afa97f052a68cc77851fa128ae776 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Thu, 25 Nov 2021 09:21:33 +0100 Subject: [PATCH] - does not build with C++17 standard, downgrade, rel 4 --- lsvpd.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lsvpd.spec b/lsvpd.spec index b402bfa..6669246 100644 --- a/lsvpd.spec +++ b/lsvpd.spec @@ -9,7 +9,7 @@ Summary: VPD/hardware inventory utilities for Linux Summary(pl.UTF-8): Narzędzia do inwentaryzacji VPD/sprzętu dla Linuksa Name: lsvpd Version: 1.7.10 -Release: 3 +Release: 4 License: GPL v2+ with librtas exception Group: Applications/System Source0: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz @@ -67,6 +67,7 @@ wypisuje poziomy mikrokodu i firmware'u. %{__autoconf} %{__autoheader} %{__automake} +export CXXFLAGS="%{rpmcxxflags} -std=c++11" %configure \ %{!?with_rtas:ac_cv_lib_rtas_rtas_get_vpd=no} %{__make} -- 2.43.0