!7 add build debuginfo and debugsource

From: @peijiankang 
Reviewed-by: @dou33 
Signed-off-by: @dou33
This commit is contained in:
openeuler-ci-bot 2023-02-08 09:10:11 +00:00 committed by Gitee
commit 0a88e593d0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,8 +1,6 @@
%define debug_package %{nil}
Name: ukui-clock
Version: 3.1.3
Release: 1
Release: 2
Summary: contain clock alarm,stopwatch,countdown
License: GPL-3.0+
URL: http://www.ukui.org
@ -38,13 +36,13 @@ contain clock alarm,stopwatch,countdown
%build
mkdir build && cd build
qmake-qt5 ..
make -j4
%{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
@ -56,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/kylin-user-guide/data/*
%changelog
* Wed Feb 08 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.3-2
- add build debuginfo and debugsource
* Mon Dec 5 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.3-1
- update version to 3.1.3