aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLei Maohui <leimaohui@cn.fujitsu.com>2019-11-13 10:18:48 +0900
committerLei Maohui <leimaohui@cn.fujitsu.com>2019-11-13 10:18:48 +0900
commit5854fdf615de9712ae98d7365547577902219e7f (patch)
tree52bef2ef193461860fbecb54a928e82be43aacde
parent7390c3612a119eff5dc635ed4c4b03accd8853bc (diff)
downloadmeta-spdxscanner-5854fdf615de9712ae98d7365547577902219e7f.tar.gz
meta-spdxscanner-5854fdf615de9712ae98d7365547577902219e7f.tar.bz2
meta-spdxscanner-5854fdf615de9712ae98d7365547577902219e7f.zip
Modified "modification record" to "ModificationRecord".
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
-rw-r--r--classes/spdx-common.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/spdx-common.bbclass b/classes/spdx-common.bbclass
index 6a1f6f2..0e5b5ff 100644
--- a/classes/spdx-common.bbclass
+++ b/classes/spdx-common.bbclass
@@ -139,7 +139,7 @@ def write_cached_spdx( info,sstatefile, ver_code ):
sed_cmd = sed_replace(sed_cmd, "PackageDownloadLocation: ",info['package_download_location'])
sed_cmd = sed_insert(sed_cmd, "PackageDownloadLocation: ", "PackageHomePage: " + info['package_homepage'])
sed_cmd = sed_insert(sed_cmd, "PackageDownloadLocation: ", "PackageSummary: " + "<text>" + info['package_summary'] + "</text>")
- sed_cmd = sed_insert(sed_cmd, "PackageCopyrightText: ", "PackageComment: <text>\\nmodification record : " + info['modified'] + "\\n</text>")
+ sed_cmd = sed_insert(sed_cmd, "PackageCopyrightText: ", "PackageComment: <text>\\nModificationRecord : " + info['modified'] + "\\n</text>")
sed_cmd = sed_replace(sed_cmd, "PackageVerificationCode: ",ver_code)
sed_cmd = sed_insert(sed_cmd, "PackageVerificationCode: ", "PackageDescription: " +
"<text>" + info['pn'] + " version " + info['pv'] + "</text>")