From 3b0a7dbf251a037098a3b3c3968a3fb6845cfa6f Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Thu, 21 Nov 2024 10:21:41 +0800 Subject: [PATCH] adopt to new cmake macro --- libipt.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/libipt.spec b/libipt.spec index ca2ee9a..253e38c 100644 --- a/libipt.spec +++ b/libipt.spec @@ -1,6 +1,6 @@ Name: libipt Version: 2.1 -Release: 3 +Release: 4 Summary: Intel(R) Processor Trace Decoder Library License: BSD URL: https://github.com/intel/libipt @@ -28,17 +28,15 @@ Decoder Library. %build %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPTUNIT:BOOL=ON -DMAN:BOOL=OFF \ - -DDEVBUILD:BOOL=ON . + -DDEVBUILD:BOOL=ON -make VERBOSE=1 %{?_smp_mflags} +%cmake_build %install -make install DESTDIR=%{buildroot} +%cmake_install %check -ctest -V %{?_smp_mflags} - -%ldconfig_scriptlets +%ctest %files %doc README @@ -51,6 +49,9 @@ ctest -V %{?_smp_mflags} %{_libdir}/%{name}.so %changelog +* Thu Nov 21 2024 Funda Wang - 2.1-4 +- adopt to new cmake macro + * Tue Oct 29 2024 Wenlong Zhang - 2.1-3 - fix build error on loongarch64 -- Gitee