summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/rpm/rpm_5.4.0.bb7
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
index 09d1fc0a6..e158b80cd 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
@@ -332,11 +332,8 @@ FILE_${PN}-dev = "${includedir}/rpm \
python base_do_unpack_append() {
import subprocess
- for url in src_uri.split():
- try:
- local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata)
- except bb.MalformedUrl, e:
- raise FuncFailed('Unable to generate local path for malformed uri: %s' % e)
+ for url in src_uri:
+ local = bb.fetch2.localpath(url)
if local is None:
continue
local = os.path.realpath(local)