From 612d59f7d12dc37a8c97c115a068e07089d5be5c Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Fri, 28 Jan 2011 12:01:32 -0600 Subject: 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 --- meta/classes/package_rpm.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') 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 "") -- cgit v1.2.3