package_rpm.bbclass: add more description for pre/post scriptlets
authorKang Kai <kai.kang@windriver.com>
Fri, 1 Mar 2013 10:02:13 +0000 (18:02 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Mar 2013 13:03:29 +0000 (13:03 +0000)
commiteb7cec7ad9b0682d51f29cec9996603065fd73d8
tree5b571235437b9c1731d79bba66732eff05ec4e0f
parenta76129b03d1415bb56c4b0865e202e1464454b09
package_rpm.bbclass: add more description for pre/post scriptlets

When write rpm spec file, one description line

"# pkgname - script_type"

is added to pre/post scriptlets for base package but no such line
writted for subpackage.

Add similiar line to subpackage to facilitate handling the pre/post
scriptlets.

(From OE-Core rev: 34f3926f1787f9a2efa2257a2aaea6ee92adf8a3)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_rpm.bbclass