summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 "")