aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLei Maohui <leimaohui@cn.fujitsu.com>2018-08-08 17:02:48 +0900
committerLei Maohui <leimaohui@cn.fujitsu.com>2018-08-08 17:04:47 +0900
commitff4b795caa9679f762e97a286d7791a5ca03e352 (patch)
tree33a8ef2621e04e38865fa98c8773001a85c9f401
parentf637f0cffc6ec82b120756b9bf56749987bddc2d (diff)
downloadmeta-spdxscanner-ff4b795caa9679f762e97a286d7791a5ca03e352.tar.gz
meta-spdxscanner-ff4b795caa9679f762e97a286d7791a5ca03e352.tar.bz2
meta-spdxscanner-ff4b795caa9679f762e97a286d7791a5ca03e352.zip
Update PackageHomePage.
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
-rw-r--r--classes/spdx-dosocs.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/spdx-dosocs.bbclass b/classes/spdx-dosocs.bbclass
index 7fffe8e..0000711 100644
--- a/classes/spdx-dosocs.bbclass
+++ b/classes/spdx-dosocs.bbclass
@@ -190,7 +190,7 @@ def write_cached_spdx( info,sstatefile, ver_code ):
sed_cmd = sed_replace(sed_cmd,"PackageName: ",info['pn'])
sed_cmd = sed_insert(sed_cmd,"PackageVersion: ",info['pv'])
sed_cmd = sed_replace(sed_cmd,"PackageDownloadLocation: ",info['package_download_location'])
- sed_cmd = sed_insert(sed_cmd,"PackageChecksum: ","PackageHomePage: " + info['package_homepage'])
+ sed_cmd = sed_replace(sed_cmd,"PackageChecksum: ","PackageHomePage: " + info['package_homepage'])
sed_cmd = sed_replace(sed_cmd,"PackageSummary: ","<text>" + info['package_summary'] + "</text>")
sed_cmd = sed_replace(sed_cmd,"PackageVerificationCode: ",ver_code)
sed_cmd = sed_replace(sed_cmd,"PackageDescription: ",