mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
package_rpm: Ensure PV manipulations are correct
The previous change to this function fixed one manipuation at the expense of the other, depending on ow expanded the versioned dependency string was when the AUTOINC substitution was made. This update ensures we cover both cases and ensures the classextended version works as as well as the normal case. (From OE-Core rev: 0f8447a7d99d2645b932eac1c24149f0c2d3791e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -610,7 +610,7 @@ python write_specfile () {
|
||||
pv = subd['PV']
|
||||
pkgv = subd['PKGV']
|
||||
reppv = pkgv.replace('-', '+')
|
||||
verlist.append(ver.replace(pv, reppv))
|
||||
verlist.append(ver.replace(pv, reppv).replace(pkgv, reppv))
|
||||
else:
|
||||
verlist.append(ver)
|
||||
newdeps_dict[dep] = verlist
|
||||
|
||||
Reference in New Issue
Block a user