From cd1934b72c7678044b3395f575b0427ac07ef370 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 28 Jul 2020 23:58:01 -0600 Subject: [PATCH] Force C++14 as this code is not C++17 ready --- exempi.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/exempi.spec b/exempi.spec index 8004bb5..6c8329e 100644 --- a/exempi.spec +++ b/exempi.spec @@ -1,7 +1,7 @@ Summary: Library for easy parsing of XMP metadata Name: exempi Version: 2.5.1 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD URL: http://libopenraw.freedesktop.org/wiki/Exempi Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2 @@ -32,7 +32,7 @@ developing with exempi. libtoolize -vi NOCONFIGURE=1 ./autogen.sh # BanEntityUsage needed for #888765 -%configure CPPFLAGS="-I%{_includedir} -fno-strict-aliasing -DBanAllEntityUsage=1" +%configure CPPFLAGS="-I%{_includedir} -fno-strict-aliasing -DBanAllEntityUsage=1 -std=c++14" # Disable rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool @@ -61,6 +61,9 @@ rm -rf %{buildroot}%{_libdir}/*.a %{_libdir}/pkgconfig/*.pc %changelog +* Tue Jul 28 2020 Jeff Law - 2.5.1-5 +- Force C++14 as this code is not C++17 ready + * Mon Jul 27 2020 Fedora Release Engineering - 2.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild