diff --git a/pfstools.spec b/pfstools.spec index 03492db..350d67c 100644 --- a/pfstools.spec +++ b/pfstools.spec @@ -1,6 +1,6 @@ Name: pfstools Version: 2.1.0 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Programs for handling high-dynamic range images License: GPLv2+ @@ -129,6 +129,9 @@ etc., for developing programs which can handle HDR graphics files. %build %{?el7:export CXXFLAGS="%{optflags} -std=gnu++11"} +%if 0%{?fedora} >= 33 +export CXXFLAGS="%{optflags} -std=gnu++11" +%endif mkdir -p %{_target_platform} %{cmake} -B %{_target_platform} -DBUILD_SHARED_LIBS=ON -DLIB_DIR=%{_lib} -DWITH_OpenCV=OFF . make -C %{_target_platform} @@ -298,6 +301,9 @@ make -C %{_target_platform} %{_includedir}/pfs %changelog +* Tue Aug 14 2020 Jeff Law - 2.1.0-14 +- Force C++11 as this code is not C++17 ready + * Thu Aug 06 2020 Tomas Smetana - 2.1.0-13 - Fix #1865214: Update spec for new cmake