!6 add build debuginfo and debugsource

From: @peijiankang 
Reviewed-by: @hua_yadong 
Signed-off-by: @hua_yadong
This commit is contained in:
openeuler-ci-bot 2023-02-09 06:21:43 +00:00 committed by Gitee
commit 4d160f33e7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,8 +1,6 @@
%define debug_package %{nil}
Name: libkysdk-system Name: libkysdk-system
Version: 2.0.0 Version: 2.0.0
Release: 2 Release: 3
Summary: Kylin Software Development Kit - System Layer Kit Summary: Kylin Software Development Kit - System Layer Kit
License: GPL-2+ License: GPL-2+
URL: http://www.ukui.org URL: http://www.ukui.org
@ -249,14 +247,14 @@ Requires: libkysdk-realtime
%build %build
mkdir build && pushd build mkdir build && pushd build
cmake .. %cmake ..
make -j4 %{make_build}
popd popd
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
pushd build pushd build
make DESTDIR=%{buildroot} install %{make_install} DESTDIR=%{buildroot}
popd popd
%clean %clean
@ -387,6 +385,9 @@ fi
%changelog %changelog
* Thu Feb 09 2023 peijiankang <peijiankang@kylinos.cn> - 2.0.0-3
- add build debuginfo and debugsource
* Thu Jan 5 2023 peijiankang <peijiankang@kylinos.cn> - 2.0.0-2 * Thu Jan 5 2023 peijiankang <peijiankang@kylinos.cn> - 2.0.0-2
- update installdir from kgconfig to pkgconfig - update installdir from kgconfig to pkgconfig