fix packaging issue while adding new patch
authorZhang Qiang <qiang.z.zhang@intel.com>
Tue, 6 Dec 2011 04:49:48 +0000 (12:49 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Tue, 6 Dec 2011 04:49:48 +0000 (12:49 +0800)
commitd7ab04f4fadb328e29ea37fb19e804a63e64ba20
tree94383e5048c03175bdd5c04c27693bf822d98b45
parent1734b0ce18788185dc898f2332679eed189411aa
fix packaging issue while adding new patch

This scripts can't work if 'Patch' info contains in specfile, so we
should pattern 'Patch' from the beginning of lines.

Also sort patch number first, then select the last one.
data/packaging.sh