- fix FTBFS on f23/gcc5
- drop deprecated configure flags
This commit is contained in:
Rex Dieter 2015-03-13 11:04:24 -05:00
parent 92662405db
commit 6ce9c08dcb

View File

@ -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 <rdieter@fedoraproject.org> - 0.9.0-3
- fix FTBFS on f23/gcc5
- drop deprecated configure flags
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.9.0-2
- Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code