From 58fe58c6deaa13c9e2666f0208f95b6a3b97af68 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 9 Sep 2013 12:11:47 +0200 Subject: [PATCH] Resolves: rhbz#1005711 do not compile in C++11 mode --- libwps.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libwps.spec b/libwps.spec index b9c0a08..b391ac0 100644 --- a/libwps.spec +++ b/libwps.spec @@ -2,7 +2,7 @@ Name: libwps Version: 0.2.9 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Library for reading and converting Microsoft Works word processor documents Group: System Environment/Libraries @@ -10,6 +10,7 @@ License: LGPLv2+ or MPLv2.0 URL: http://libwps.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz +BuildRequires: boost-devel BuildRequires: doxygen BuildRequires: libwpd-devel @@ -48,8 +49,7 @@ The %{name}-doc package contains documentation files for %{name} touch -r aclocal.m4 configure configure.in %build -%configure --disable-silent-rules --disable-static --disable-werror \ - --with-sharedptr=c++11 CXXFLAGS="$CXXFLAGS -std=c++11" +%configure --disable-silent-rules --disable-static --disable-werror sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} @@ -85,6 +85,9 @@ rm -rf %{buildroot}%{_defaultdocdir}/%{name} %doc docs/doxygen/html %changelog +* Mon Sep 09 2013 David Tardon - 0.2.9-6 +- Resolves: rhbz#1005711 do not compile in C++11 mode + * Mon Aug 19 2013 David Tardon - 0.2.9-5 - Resolves: rhbz#98166 Duplicated documentation