aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-12-19 13:15:59 +0000
committerRoss Burton <ross.burton@intel.com>2014-12-19 13:15:59 +0000
commitdfa5f49072092076b9cac98f7a9bbc40b8d121c3 (patch)
tree7807b9a66212691a776059f2e2c5c1d1f21c8d4a
parentdbf7aff66aa5cb8ab22cdf0bbb32b759b1bada9f (diff)
downloadmeta-translator-dfa5f49072092076b9cac98f7a9bbc40b8d121c3.tar.gz
meta-translator-dfa5f49072092076b9cac98f7a9bbc40b8d121c3.tar.bz2
meta-translator-dfa5f49072092076b9cac98f7a9bbc40b8d121c3.zip
package_srpm: use translator-specific data when fetching
Don't use the original data when fetching as there may be translator-specific overrides in effect on SRC_URI. Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--classes/package_srpm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package_srpm.bbclass b/classes/package_srpm.bbclass
index 14913f2..8dac988 100644
--- a/classes/package_srpm.bbclass
+++ b/classes/package_srpm.bbclass
@@ -234,7 +234,7 @@ python srpm_write_specfile () {
# TODO: integrate tighter with archiver so we don't need to
# replicate logic
- fetch = bb.fetch2.Fetch([], od)
+ fetch = bb.fetch2.Fetch([], d)
for url in fetch.urls:
is_patch = patch_url_is_patch(url, fetch)
local_path = fetch.localpath(url)