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
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