do not compile in C++11 mode

f41
David Tardon 12 years ago
parent a38e9a887a
commit 4bc9b31560

@ -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@redhat.com> - 0.0.2-3
- do not build in C++11 mode
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

Loading…
Cancel
Save