From 6ce9c08dcbd3176d840360ac0e0430540ecd1fbc Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 13 Mar 2015 11:04:24 -0500 Subject: [PATCH] 0.9.0-3 - fix FTBFS on f23/gcc5 - drop deprecated configure flags --- pinentry.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pinentry.spec b/pinentry.spec index b3259ac..15db5d7 100644 --- a/pinentry.spec +++ b/pinentry.spec @@ -1,7 +1,7 @@ Name: pinentry Version: 0.9.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Collection of simple PIN or passphrase entry dialogs # qt & qt4 subpackage have different license, see subpackage definitions @@ -67,11 +67,15 @@ This package contains the Qt4 GUI based version of the PIN entry dialog. %patch2 -p1 %build + +%if 0%{?fedora} > 22 +# FTBFS on f23/gcc5 without this +CXXFLAGS="%{optflags} -std=c++11" +%endif + %configure \ --disable-rpath \ --disable-dependency-tracking \ - --disable-pinentry-gtk \ - --disable-pinentry-qt \ --without-libcap \ --enable-pinentry-gtk2 \ --enable-pinentry-qt4 @@ -126,6 +130,10 @@ fi %changelog +* Fri Mar 13 2015 Rex Dieter - 0.9.0-3 +- fix FTBFS on f23/gcc5 +- drop deprecated configure flags + * Sat Feb 21 2015 Till Maas - 0.9.0-2 - Rebuilt for Fedora 23 Change https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code