From bc67763c25c315ceebc18306cc20aaae8be57d1a Mon Sep 17 00:00:00 2001 From: peijiankang Date: Thu, 9 Feb 2023 09:40:36 +0800 Subject: [PATCH] add build debuginfo and debugsource --- libkysdk-system.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/libkysdk-system.spec b/libkysdk-system.spec index 904202b..9d2a019 100644 --- a/libkysdk-system.spec +++ b/libkysdk-system.spec @@ -1,8 +1,6 @@ -%define debug_package %{nil} - Name: libkysdk-system Version: 2.0.0 -Release: 2 +Release: 3 Summary: Kylin Software Development Kit - System Layer Kit License: GPL-2+ URL: http://www.ukui.org @@ -249,14 +247,14 @@ Requires: libkysdk-realtime %build mkdir build && pushd build -cmake .. -make -j4 +%cmake .. +%{make_build} popd %install rm -rf $RPM_BUILD_ROOT pushd build -make DESTDIR=%{buildroot} install +%{make_install} DESTDIR=%{buildroot} popd %clean @@ -387,6 +385,9 @@ fi %changelog +* Thu Feb 09 2023 peijiankang - 2.0.0-3 +- add build debuginfo and debugsource + * Thu Jan 5 2023 peijiankang - 2.0.0-2 - update installdir from kgconfig to pkgconfig