[packages/libmwaw] - updated to 0.3.4 - switch shared_ptr impl from boost to C++11

qboosh qboosh at pld-linux.org
Thu Feb 12 18:57:58 CET 2015


commit 656013b47cf1ccd3b97288132b726ef11cb4d36e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Feb 12 19:00:29 2015 +0100

    - updated to 0.3.4
    - switch shared_ptr impl from boost to C++11

 libmwaw.spec | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libmwaw.spec b/libmwaw.spec
index 2e3664a..22e23d3 100644
--- a/libmwaw.spec
+++ b/libmwaw.spec
@@ -5,17 +5,16 @@
 Summary:	Library for reading and converting ClarisWorks, MacWrite, WriteNow word processor documents
 Summary(pl.UTF-8):	Biblioteka do odczytu i konwersji dokumentów tekstowych ClarisWorks, MacWrite i WriteNow
 Name:		libmwaw
-Version:	0.3.3
+Version:	0.3.4
 Release:	1
 License:	MPL v2.0 or LGPL v2+
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/libmwaw/%{name}-%{version}.tar.xz
-# Source0-md5:	de4963d833142ce690ca9518a916e888
+# Source0-md5:	402e8af2bda6e8f2b5e68af44648820f
 URL:		http://sourceforge.net/projects/libmwaw
-BuildRequires:	boost-devel
 BuildRequires:	doxygen
 BuildRequires:	librevenge-devel >= 0.0
-BuildRequires:	libstdc++-devel
+BuildRequires:	libstdc++-devel >= 6:4.3
 BuildRequires:	pkgconfig >= 1:0.20
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
@@ -92,10 +91,11 @@ ClarisWorks, MacWrite i WriteNow do innych formatów.
 %setup -q
 
 %build
+CXXFLAGS="%{rpmcxxflags} -std=c++0x"
 %configure \
 	--disable-silent-rules \
-	%{?with_static_libs:--enable-static}
-#	--with-sharedptr=c++11	not ready for - uses implicit bool cast
+	%{?with_static_libs:--enable-static} \
+	--with-sharedptr=c++11
 
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libmwaw.git/commitdiff/656013b47cf1ccd3b97288132b726ef11cb4d36e



More information about the pld-cvs-commit mailing list