summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/rpm_5.4.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm_5.4.0.bb')
-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 09d1fc0a62..e158b80cd1 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 \
332python base_do_unpack_append() { 332python base_do_unpack_append() {
333 import subprocess 333 import subprocess
334 334
335 for url in src_uri.split(): 335 for url in src_uri:
336 try: 336 local = bb.fetch2.localpath(url)
337 local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata)
338 except bb.MalformedUrl, e:
339 raise FuncFailed('Unable to generate local path for malformed uri: %s' % e)
340 if local is None: 337 if local is None:
341 continue 338 continue
342 local = os.path.realpath(local) 339 local = os.path.realpath(local)