FYI. This is used in firefox-package-search and firefox-rpathwiki-search to get firefox version:
loadRecipe('firefox') class FirefoxPackageSearch(PackageRecipe): r.macros.ff_version = '.'.join(FireFox.version.split('.')[:2]) jesse On 04/13/2011 05:02 AM, rbuil...@rpath.com wrote: > ================================ > firefox-addon:source=2-7 (previous: 2-6) > cvc rdiff firefox-addon -1 /foresight.rpath.org@fl:2-devel/2-7 > ================================ > 2-7 Adam Chasen (acha...@rpath.com) Tue Apr 12 17:02:00 2011 > update to firefox-4.0 extension dir > > firefox-addon.recipe: changed > Index: firefox-addon.recipe > ==================================================================== > contents(sha1) > inode(mtime owner group) > --- firefox-addon.recipe /foresight.rpath.org@fl:2-devel/2-6 > +++ firefox-addon.recipe /foresight.rpath.org@fl:2-devel/2-7 > @@ -44,7 +44,7 @@ > > # Shouldn't need to change these except in subclasses > _isSuperClass = True > - addonDir = '%(libdir)s/firefox-3.5/extensions' > + addonDir = '%(libdir)s/firefox-4.0/extensions' > appBaseName = 'firefox-' > appId = '{ec8030f7-c20a-464f-9b0e-13a3a9e97384}' > > > > > Committed by: achasen > _______________________________________________ > Foresight-commits mailing list > foresight-comm...@lists.rpath.org > http://lists.rpath.org/mailman/listinfo/foresight-commits _______________________________________________ Foresight-devel mailing list Foresight-devel@lists.rpath.org http://lists.rpath.org/mailman/listinfo/foresight-devel