Resolves: rhbz#1005711 do not compile in C++11 mode

f41
David Tardon 11 years ago
parent a6c4e4b429
commit 58fe58c6de

@ -2,7 +2,7 @@
Name: libwps Name: libwps
Version: 0.2.9 Version: 0.2.9
Release: 5%{?dist} Release: 6%{?dist}
Summary: Library for reading and converting Microsoft Works word processor documents Summary: Library for reading and converting Microsoft Works word processor documents
Group: System Environment/Libraries Group: System Environment/Libraries
@ -10,6 +10,7 @@ License: LGPLv2+ or MPLv2.0
URL: http://libwps.sourceforge.net/ URL: http://libwps.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
BuildRequires: boost-devel
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: libwpd-devel BuildRequires: libwpd-devel
@ -48,8 +49,7 @@ The %{name}-doc package contains documentation files for %{name}
touch -r aclocal.m4 configure configure.in touch -r aclocal.m4 configure configure.in
%build %build
%configure --disable-silent-rules --disable-static --disable-werror \ %configure --disable-silent-rules --disable-static --disable-werror
--with-sharedptr=c++11 CXXFLAGS="$CXXFLAGS -std=c++11"
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool 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 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags} make %{?_smp_mflags}
@ -85,6 +85,9 @@ rm -rf %{buildroot}%{_defaultdocdir}/%{name}
%doc docs/doxygen/html %doc docs/doxygen/html
%changelog %changelog
* Mon Sep 09 2013 David Tardon <dtardon@redhat.com> - 0.2.9-6
- Resolves: rhbz#1005711 do not compile in C++11 mode
* Mon Aug 19 2013 David Tardon <dtardon@redhat.com> - 0.2.9-5 * Mon Aug 19 2013 David Tardon <dtardon@redhat.com> - 0.2.9-5
- Resolves: rhbz#98166 Duplicated documentation - Resolves: rhbz#98166 Duplicated documentation

Loading…
Cancel
Save