diff options
author | Ludovic Bellière <xrogaan@gmail.com> | 2010-03-22 21:18:58 +0100 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-03-22 17:21:16 -0400 |
commit | d52baa2858499d40c8e1374eec29b7a9fd7381c7 (patch) | |
tree | 183a4b26cd3b0091660aec1515f582be21e98fcb | |
parent | 192dc4f79afa0626aa9cf1ff819d00891acd7e5b (diff) | |
download | mongo-d52baa2858499d40c8e1374eec29b7a9fd7381c7.tar.gz |
To emancipate from futur update of mandriva's jslib
-rw-r--r-- | buildscripts/hacks_mandriva.py | 7 | ||||
-rw-r--r-- | rpm/mongo.mdv.spec | 4 |
2 files changed, 8 insertions, 3 deletions
diff --git a/buildscripts/hacks_mandriva.py b/buildscripts/hacks_mandriva.py index b452ab31c11..d46170960cc 100644 --- a/buildscripts/hacks_mandriva.py +++ b/buildscripts/hacks_mandriva.py @@ -1,6 +1,9 @@ import os +import glob def insert( env , options ): - if os.path.exists( "/usr/include/js-1.70/" ): - env.Append( CPPPATH=[ "/usr/include/js-1.70/" ] )
\ No newline at end of file + jslibPaths = glob.glob('/usr/include/js-*/') + if len(jslibPaths) >= 1: + jslibPath = jslibPaths.pop() + env.Append( CPPPATH=[ jslibPath ] )
\ No newline at end of file diff --git a/rpm/mongo.mdv.spec b/rpm/mongo.mdv.spec index 99c2c898094..cab3fede625 100644 --- a/rpm/mongo.mdv.spec +++ b/rpm/mongo.mdv.spec @@ -1,5 +1,5 @@ %define name mongodb -%define version 1.2.4 +%define version 1.3.4 %define release %mkrel 1 Name: %{name} @@ -103,6 +103,7 @@ fi %{_bindir}/mongofiles %{_bindir}/mongoimport %{_bindir}/mongorestore +%{_bindir}/mongostat %{_mandir}/man1/mongo.1* %{_mandir}/man1/mongod.1* @@ -111,6 +112,7 @@ fi %{_mandir}/man1/mongofiles.1* %{_mandir}/man1/mongoimport.1* %{_mandir}/man1/mongosniff.1* +%{_mandir}/man1/mongostat.1* %{_mandir}/man1/mongorestore.1* %files server |