add build debuginfo and debugsource

This commit is contained in:
peijiankang 2023-02-10 12:29:27 +08:00
parent 768e17817d
commit 2bc5abd144

View File

@ -1,7 +1,6 @@
%define debug_package %{nil}
Name: ukui-sidebar
Version: 3.3.0
Release: 2
Release: 3
Summary: parallels toolbox for UKUI
License: GPL-3+
URL: http://www.ukui.org
@ -34,13 +33,13 @@ Recommends: ukui-notebook ukylin-feedback-client ukui-clock
%build
mkdir build && cd build
qmake-qt5 ..
make -j32
%{qmake_qt5} ..
%{make_build}
%install
rm -rf $RPM_BUILD_ROOT
cd %{_builddir}/%{name}-%{version}/build
make INSTALL_ROOT=%{buildroot} install
%{make_install} INSTALL_ROOT=%{buildroot}
%clean
rm -rf $RPM_BUILD_ROOT
@ -74,6 +73,9 @@ done
%{_datadir}/glib-2.0/schemas/
%changelog
* Fri Feb 10 2023 peijiankang <peijiankang@kylinos.cn> - 3.3.0-3
- add build debuginfo and debugsource
* Thu Jan 12 2023 peijiankang <peijiankang@kylinos.cn> - 3.3.0-2
- fix get Weather error