add build debuginfo and debugsource

This commit is contained in:
peijiankang 2023-02-09 09:40:36 +08:00
parent 87d0759faf
commit bc67763c25

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