summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-01-28 12:01:32 -0600
committerSaul Wold <sgw@linux.intel.com>2011-01-30 12:09:53 -0800
commit612d59f7d12dc37a8c97c115a068e07089d5be5c (patch)
tree604653f127390d7f4ba7b7a79fec08c3fd9cc7ee /meta
parente67698743eb6fea77f03d712be5d838fbc887f16 (diff)
downloadopenembedded-core-612d59f7d12dc37a8c97c115a068e07089d5be5c.tar.gz
openembedded-core-612d59f7d12dc37a8c97c115a068e07089d5be5c.tar.bz2
openembedded-core-612d59f7d12dc37a8c97c115a068e07089d5be5c.zip
package_rpm: Fix package-split summary
The package-split summaries were being pulled in from the main package, not the split package metadata. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package_rpm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 7c2cdb0bde..031374c0fc 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -192,7 +192,7 @@ python write_specfile () {
splitname = pkgname
- splitsummary = (bb.data.getVar('SUMMARY', d, True) or bb.data.getVar('DESCRIPTION', d, True) or ".")
+ splitsummary = (bb.data.getVar('SUMMARY', localdata, True) or bb.data.getVar('DESCRIPTION', localdata, True) or ".")
splitversion = (bb.data.getVar('PV', localdata, True) or "").replace('-', '+')
splitrelease = (bb.data.getVar('PR', localdata, True) or "")
splitepoch = (bb.data.getVar('PE', localdata, True) or "")