Fix vd build error with rpm 4.14 for writing %files debuginfo 63/290663/3 submit/tizen_base/20230330.163030
authorbiao716.wang <biao716.wang@samsung.com>
Thu, 30 Mar 2023 06:50:29 +0000 (15:50 +0900)
committerbiao716.wang <biao716.wang@samsung.com>
Thu, 30 Mar 2023 09:18:41 +0000 (18:18 +0900)
commitcf340dff995f8e590b88cf1f8b8c985aaa5cee96
treec523ba5bda52fae7bbd1e8219aa8f76cf4828e47
parent18243ddb211f50bdeb17f269e5f6d8b1d59b86d5
Fix vd build error with rpm 4.14 for writing %files debuginfo
This patch is compatible with old writing way in spec file for vd projects.

in some vd project, there is such section:
%file debuginfo
XXXXX
In current logic, there is no need to write this way in rpm 4.14, it will check if
there is XXX.debug kind of files, if there is none, no debuginfo package is generated.
But in vd projects' spec, it put some files which is not XXX.debug files to debuginfo package,
this is not allowed in rpm 4.14.
Change-Id: I735bed46de8b6c67fb0730476544075d332b46b4
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
build/files.c
build/parseFiles.c
lib/rpmtag.h