summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_rpm.bbclass
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/classes/package_rpm.bbclass
parente67698743eb6fea77f03d712be5d838fbc887f16 (diff)
downloadpoky-612d59f7d12dc37a8c97c115a068e07089d5be5c.tar.gz
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/classes/package_rpm.bbclass')
-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 () {
192 192
193 splitname = pkgname 193 splitname = pkgname
194 194
195 splitsummary = (bb.data.getVar('SUMMARY', d, True) or bb.data.getVar('DESCRIPTION', d, True) or ".") 195 splitsummary = (bb.data.getVar('SUMMARY', localdata, True) or bb.data.getVar('DESCRIPTION', localdata, True) or ".")
196 splitversion = (bb.data.getVar('PV', localdata, True) or "").replace('-', '+') 196 splitversion = (bb.data.getVar('PV', localdata, True) or "").replace('-', '+')
197 splitrelease = (bb.data.getVar('PR', localdata, True) or "") 197 splitrelease = (bb.data.getVar('PR', localdata, True) or "")
198 splitepoch = (bb.data.getVar('PE', localdata, True) or "") 198 splitepoch = (bb.data.getVar('PE', localdata, True) or "")