[mongodb] use boost fs v2
Nathaniel McCallum
npmccallum at fedoraproject.org
Sun Feb 13 12:34:04 UTC 2011
commit b50529e62f3fbe7197611dd483c471b3c7e8194e
Author: Nathaniel McCallum <nathaniel at natemccallum.com>
Date: Sun Feb 13 07:33:55 2011 -0500
use boost fs v2
mongodb.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/mongodb.spec b/mongodb.spec
index b27df10..8b684de 100644
--- a/mongodb.spec
+++ b/mongodb.spec
@@ -4,7 +4,7 @@
%global daemon mongod
Name: mongodb
Version: 1.7.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: High-performance, schema-free document-oriented database
Group: Applications/Databases
License: AGPLv3 and zlib and ASL 2.0
@@ -100,10 +100,10 @@ sed -i 's/\r//' db/resource.h
sed -i 's/\r//' README
%build
-# Disable error on warning
+# Disable error on warning, use boost-fs 2
mv SConstruct SConstruct.orig
grep -v 'Werror' SConstruct.orig > SConstruct
-sed -i 's/-Wall //' SConstruct
+sed -i 's/-Wall/-DBOOST_FILESYSTEM_VERSION=2/' SConstruct
scons %{?_smp_mflags} --sharedclient .
@@ -201,6 +201,9 @@ fi
%{_includedir}/mongo
%changelog
+* Sun Feb 13 2011 Nathaniel McCallum <nathaniel at natemccallum.com> - 1.7.5-4
+- Manually define to use boost-fs v2
+
* Sat Feb 12 2011 Nathaniel McCallum <nathaniel at natemccallum.com> - 1.7.5-3
- Disable extra warnings
More information about the scm-commits
mailing list