From a88698960ae6b37c9da77da593063a128f7c04d6 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Jul 29 2020 03:13:09 +0000 Subject: Force C++14 as this code is not C++17 ready --- diff --git a/slim.spec b/slim.spec index 658072a..adda9bd 100644 --- a/slim.spec +++ b/slim.spec @@ -1,6 +1,6 @@ Name: slim Version: 1.3.6 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Simple Login Manager License: GPLv2+ @@ -60,6 +60,7 @@ before launching slim. cp -p %{SOURCE4} README.Fedora %build +export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS" export LDFLAGS="%{optflags} -lXft" %cmake -DUSE_PAM=yes %cmake_build @@ -118,6 +119,9 @@ rm %{buildroot}/%{_libdir}/lib%{name}.so %changelog +* Tue Jul 28 2020 Jeff Law +- Force C++14 as this code is not C++17 ready + * Thu Jan 30 2020 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild