add build debuginfo and debugsource

This commit is contained in:
peijiankang 2023-02-09 09:20:43 +08:00
parent 8a91a12fc9
commit 70938e7c1c

View File

@ -1,8 +1,6 @@
%define debug_package %{nil}
Name: libkysdk-base Name: libkysdk-base
Version: 2.0.0 Version: 2.0.0
Release: 1 Release: 2
Summary: Kylin Software Development Kit - Base Layer Kit Summary: Kylin Software Development Kit - Base Layer Kit
License: GPL-2+ License: GPL-2+
URL: http://www.ukui.org URL: http://www.ukui.org
@ -120,13 +118,13 @@ Developer diagnostics - Development libraries
%build %build
mkdir build && pushd build mkdir build && pushd build
cmake .. %cmake ..
make %{make_build}
popd popd
%install %install
pushd build pushd build
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make DESTDIR=%{buildroot} install %{make_install} DESTDIR=%{buildroot}
popd popd
%clean %clean
@ -185,6 +183,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/pkgconfig/kysdk-diagnostics.pc %{_datadir}/pkgconfig/kysdk-diagnostics.pc
%changelog %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 * Mon Dec 5 2022 peijiankang <peijiankang@kylinos.cn> - 2.0.0-1
- update version to 2.0.0 - update version to 2.0.0