From: Jan Rękorajski Date: Thu, 25 Nov 2021 08:21:33 +0000 (+0100) Subject: - does not build with C++17 standard, downgrade, rel 4 X-Git-Tag: auto/th/lsvpd-1.7.10-4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Flsvpd.git;a=commitdiff_plain;h=c874c7a4811afa97f052a68cc77851fa128ae776 - does not build with C++17 standard, downgrade, rel 4 --- 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}