From 773acc39a46dd131c028a29b57d7a05aadb39318 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sun, 30 Aug 2015 12:15:40 +0200 Subject: [PATCH] drop dependency on boost --- libodfgen.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libodfgen.spec b/libodfgen.spec index c83cff7..4ec6f00 100644 --- a/libodfgen.spec +++ b/libodfgen.spec @@ -9,7 +9,6 @@ License: LGPLv2+ or MPLv2.0 URL: https://sourceforge.net/p/libwpd/wiki/libodfgen/ Source: http://downloads.sourceforge.net/libwpd/%{name}-%{version}.tar.xz -BuildRequires: boost-devel BuildRequires: doxygen BuildRequires: pkgconfig(librevenge-0.0) @@ -37,7 +36,8 @@ The %{name}-doc package contains documentation files for %{name}. %setup -q %build -%configure --disable-silent-rules --disable-static --disable-werror +export CXXFLAGS=-std=c++11 +%configure --disable-silent-rules --disable-static --disable-werror --with-sharedptr=c++11 sed -i \ -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \