Permalink
Browse files

To emancipate from futur update of mandriva's jslib

  • Loading branch information...
1 parent 192dc4f commit d52baa2858499d40c8e1374eec29b7a9fd7381c7 @xrogaan xrogaan committed with erh Mar 22, 2010
Showing with 8 additions and 3 deletions.
  1. +5 −2 buildscripts/hacks_mandriva.py
  2. +3 −1 rpm/mongo.mdv.spec
@@ -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/" ] )
+ jslibPaths = glob.glob('/usr/include/js-*/')
+ if len(jslibPaths) >= 1:
+ jslibPath = jslibPaths.pop()
+ env.Append( CPPPATH=[ jslibPath ] )
View
@@ -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

0 comments on commit d52baa2

Please sign in to comment.