[libodfgen] do not compile in C++11 mode

David Tardon dtardon at fedoraproject.org
Mon Sep 9 10:52:21 UTC 2013


commit 4bc9b31560e6f9053b743c6d63406e85e84a52c1
Author: David Tardon <dtardon at redhat.com>
Date:   Mon Sep 9 12:34:33 2013 +0200

    do not compile in C++11 mode

 libodfgen.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/libodfgen.spec b/libodfgen.spec
index 6a3b0b3..a492161 100644
--- a/libodfgen.spec
+++ b/libodfgen.spec
@@ -2,7 +2,7 @@
 
 Name: libodfgen
 Version: 0.0.2
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: An ODF generator library
 
 Group: System Environment/Libraries
@@ -10,6 +10,7 @@ License: LGPLv2+ or MPLv2.0
 URL: http://sourceforge.net/projects/libwpd/
 Source: http://downloads.sourceforge.net/libwpd/%{name}-%{version}.tar.xz
 
+BuildRequires: boost-devel
 BuildRequires: libwpd-devel
 BuildRequires: libwpg-devel
 
@@ -33,8 +34,7 @@ developing applications that use %{name}.
 
 
 %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 \
     -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
     -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
@@ -64,6 +64,9 @@ rm -f %{buildroot}/%{_libdir}/*.la
 
 
 %changelog
+* Mon Sep 09 2013 David Tardon <dtardon at redhat.com> - 0.0.2-3
+- do not build in C++11 mode
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list