add build debuginfo and debugsource

This commit is contained in:
peijiankang 2023-02-09 09:37:46 +08:00
parent 8255b569b4
commit 273ae5a6a8

View File

@ -1,8 +1,6 @@
%define debug_package %{nil}
Name: libkysdk-applications
Version: 2.0.0
Release: 1
Release: 2
Summary: Kylin Software Development Kit - Applications Layer Kit
License: GPL-2+
URL: http://www.ukui.org
@ -153,13 +151,13 @@ kysdk-ukenv head file
%build
mkdir build && cd build
qmake-qt5 ..
make -j4
%{qmake_qt5} ..
%{make_build}
%install
rm -rf $RPM_BUILD_ROOT
pushd build
make INSTALL_ROOT=%{buildroot} install
%{make_install} INSTALL_ROOT=%{buildroot}
popd
@ -266,6 +264,9 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/kysdk/applications/usermanual.h
%changelog
* Thu Feb 09 2023 peijiankang <peijiankang@kylinos.cn> - 2.0.0-2
- add build debuginfo and debugsource
* Thu Dec 22 2022 peijiankang <peijiankang@kylinos.cn> - 2.0.0-1
- update version to 2.0.0