From: Jakub Bogusz Date: Tue, 16 Feb 2016 18:33:55 +0000 (+0100) Subject: - pass -std to enable C++ 11 for glibmm/libxml++; release 4 X-Git-Tag: auto/th/bakery-2.6.3-4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbakery.git;a=commitdiff_plain;h=4bac8893ebcb1b8c0898cb6aad904286e14719d5 - pass -std to enable C++ 11 for glibmm/libxml++; release 4 --- diff --git a/bakery.spec b/bakery.spec index dab1b05..edd3b6c 100644 --- a/bakery.spec +++ b/bakery.spec @@ -2,7 +2,7 @@ Summary: C++ Framework for creating GNOME applications Summary(pl.UTF-8): Struktura C++ do tworzenia programów dla GNOME Name: bakery Version: 2.6.3 -Release: 3 +Release: 4 License: LGPL v2+ Group: X11/Development/Libraries Source0: http://ftp.gnome.org/pub/GNOME/sources/bakery/2.6/%{name}-%{version}.tar.bz2 @@ -18,7 +18,8 @@ BuildRequires: glibmm-devel >= 2.16.0 BuildRequires: gtkmm-devel >= 2.10.5 BuildRequires: intltool BuildRequires: libglademm-devel >= 2.6.3 -BuildRequires: libtool +BuildRequires: libstdc++-devel >= 6:4.3 +BuildRequires: libtool >= 2:1.5 BuildRequires: libxml++2-devel >= 2.24.0 BuildRequires: pkgconfig BuildRequires: rpmbuild(macros) >= 1.197 @@ -90,6 +91,8 @@ Statyczna biblioteka Bakery. %{__autoconf} %{__autoheader} %{__automake} +# for glibmm 2.46+/libxml++ 2.40+ +CXXFLAGS="%{rpmcxxflags} -std=c++0x" %configure %{__make}