2 # @author: Philippe Coval <mailto:philippe.coval@eurogiciel.fr>
3 # @description: manage git submodules with git-build-package-rpm
8 cat .gitmodules || return 1
10 git submodule status | awk '{ print $2 }' | while read dir ; do
11 name=$(basename "$dir" )
17 tar cjvf "./packaging/${name}.tar.bz2" "${dir}"
20 # Please add "SourceN: $name.tar.bz2" and "%setup -q -a N" to "packaging/*.spec"