From b24dd70152a3c2333053f45932ff9a203c09a66d Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Thu, 14 Nov 2024 23:17:33 +0800 Subject: [PATCH] adopt to new cmake macro --- abseil-cpp.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 04e6768..895bd63 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -6,7 +6,7 @@ Name: abseil-cpp Version: 20240722.0 -Release: 1 +Release: 2 Summary: C++ Common Libraries License: Apache-2.0 @@ -47,16 +47,14 @@ Development headers for %{name} %autosetup -p1 %build -%cmake -S %{_vpath_srcdir} -B %{_vpath_builddir} -GNinja \ +%cmake -GNinja \ -DCMAKE_BUILD_TYPE:STRING=None \ -DCMAKE_CXX_STANDARD:STRING=17 \ - -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo - -%__cmake --build %{_vpath_builddir} %{?_smp_mflags} --verbose +%cmake_build %install -DESTDIR="%{buildroot}" %__cmake --install "%{_vpath_builddir}" +%cmake_install %files %license LICENSE @@ -161,6 +159,9 @@ DESTDIR="%{buildroot}" %__cmake --install "%{_vpath_builddir}" %{_libdir}/pkgconfig/*.pc %changelog +* Thu Nov 14 2024 Funda Wang - 20240722.0-2 +- adopt to new cmake macro + * Thu Sep 5 2024 dillon chen - 20240722.0-1 - Type:requirement - ID:NA -- Gitee