summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
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 8aa868d3a2..b6d76e7a3b 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -610,7 +610,7 @@ python write_specfile () {
610 pv = subd['PV'] 610 pv = subd['PV']
611 pkgv = subd['PKGV'] 611 pkgv = subd['PKGV']
612 reppv = pkgv.replace('-', '+') 612 reppv = pkgv.replace('-', '+')
613 verlist.append(ver.replace(pv, reppv)) 613 verlist.append(ver.replace(pv, reppv).replace(pkgv, reppv))
614 else: 614 else:
615 verlist.append(ver) 615 verlist.append(ver)
616 newdeps_dict[dep] = verlist 616 newdeps_dict[dep] = verlist