use shared_ptr from c++11 instead of boost

f41
David Tardon 12 years ago
parent ad686f003e
commit 4f102bca16

@ -8,10 +8,9 @@ License: LGPLv2+
URL: http://libwps.sourceforge.net/ URL: http://libwps.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRequires: boost-devel BuildRequires: cppunit-devel
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: libwpd-devel BuildRequires: libwpd-devel
BuildRequires: cppunit-devel
%description %description
@ -57,7 +56,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-static --disable-werror %configure --disable-static --disable-werror --with-sharedptr=c++11 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}

Loading…
Cancel
Save