Support multi spec files in single package.
authorHuang Hao <hao.h.huang@intel.com>
Wed, 10 Oct 2012 10:26:09 +0000 (18:26 +0800)
committerHuang Hao <hao.h.huang@intel.com>
Fri, 12 Oct 2012 10:25:03 +0000 (18:25 +0800)
commit5ed7d1284ba9d9ca874058caf9d28b5b944368ed
treee5b913e9dd60e683c17c62ef02b9fd243660a301
parente6eea2226d84fb380d241f61f05b4e17b2d58f74
Support multi spec files in single package.

fix #438.

* get all spec files in fill_packs_from_git()
* split codes that deal with reversion cache codes into three
    functions read_cache(), write_cache() and clean_cache()
* split exporting codes into gbs_export()
* split codes that query git reversion into query_git_commit_rev()
* add a debug message for my_system call
* comment a debug message of checking dependence, it print out
    every second and overwhelm other useful debug message.

Change-Id: I5b295015818d9953b34386e65c74c1b204ede120
depanneur