packages: mongodb/mongodb.spec - up to 1.6.5 - use arch dependend compiler ...

lisu lisu at pld-linux.org
Thu Dec 9 12:15:46 CET 2010


Author: lisu                         Date: Thu Dec  9 11:15:46 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.6.5
- use arch dependend compiler
- package /usr/bin/mongosniff

---- Files affected:
packages/mongodb:
   mongodb.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: packages/mongodb/mongodb.spec
diff -u packages/mongodb/mongodb.spec:1.11 packages/mongodb/mongodb.spec:1.12
--- packages/mongodb/mongodb.spec:1.11	Mon Nov 22 13:33:49 2010
+++ packages/mongodb/mongodb.spec	Thu Dec  9 12:15:41 2010
@@ -1,17 +1,17 @@
 # $Revision$, $Date$
 #
 # TODO
-# - pass our rpm*cflags, use CXX
+# - pass our rpm*cflags
 #
 Summary:	MongoDB client shell and tools
 Name:		mongodb
-Version:	1.6.4
+Version:	1.6.5
 Release:	0.1
 License:	AGPL 3.0
 Group:		Applications/Databases
 URL:		http://www.mongodb.org/
 Source0:	http://downloads.mongodb.org/src/%{name}-src-r%{version}.tar.gz
-# Source0-md5:	4df15dba13d7e743f0148127122baec6
+# Source0-md5:	99f1c4c256be1611da6068aea30f9a30
 Source1:	%{name}.logrotate
 Source2:	%{name}.init
 # BuildRequires:  libpcap-devel
@@ -22,6 +22,7 @@
 BuildRequires:	readline-devel
 BuildRequires:	rpmbuild(macros) >= 1.228
 BuildRequires:	scons >= 1.2
+BuildRequires:	sed >= 4.0
 BuildRequires:	v8-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -68,6 +69,7 @@
 
 %prep
 %setup -q -n %{name}-src-r%{version}
+%{__sed} -i 's,-O3,,' SConstruct
 
 # Fix permissions
 find -type f -executable | xargs chmod a-x
@@ -77,7 +79,8 @@
 	--prefix=$RPM_BUILD_ROOT%{_prefix} \
 	--sharedclient \
 	--full all \
-	--usev8
+	--usev8 \
+	--cxx=%{__cxx}
 
 # XXX really should have shared library here
 
@@ -135,6 +138,7 @@
 %attr(755,root,root) %{_bindir}/mongofiles
 %attr(755,root,root) %{_bindir}/mongoimport
 %attr(755,root,root) %{_bindir}/mongorestore
+%attr(755,root,root) %{_bindir}/mongosniff
 %attr(755,root,root) %{_bindir}/mongostat
 %attr(755,root,root) %{_bindir}/bsondump
 %{_mandir}/man1/mongo.1*
@@ -174,6 +178,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2010/12/09 11:15:41  lisu
+- up to 1.6.5
+- use arch dependend compiler
+- package /usr/bin/mongosniff
+
 Revision 1.11  2010/11/22 12:33:49  lisu
 - notice update in previous commit
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mongodb/mongodb.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list