!5 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:22:21 +00:00 committed by Gitee
commit 22081415d4
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-base
Version: 2.0.0
Release: 1
Release: 2
Summary: Kylin Software Development Kit - Base Layer Kit
License: GPL-2+
URL: http://www.ukui.org
@ -120,13 +118,13 @@ Developer diagnostics - Development libraries
%build
mkdir build && pushd build
cmake ..
make
%cmake ..
%{make_build}
popd
%install
pushd build
rm -rf $RPM_BUILD_ROOT
make DESTDIR=%{buildroot} install
%{make_install} DESTDIR=%{buildroot}
popd
%clean
@ -185,6 +183,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/pkgconfig/kysdk-diagnostics.pc
%changelog
* Thu Feb 09 2023 peijiankang <peijiankang@kylinos.cn> - 2.0.0-2
- add build debuginfo and debugsource
* Mon Dec 5 2022 peijiankang <peijiankang@kylinos.cn> - 2.0.0-1
- update version to 2.0.0