diff --git a/opengauss-dcf.spec b/opengauss-dcf.spec index 2a2d7a699d78063eff05bf5c3a05eb974a2929d9..7b57a7a8d7a7f9644b46875ce414284415ed169b 100644 --- a/opengauss-dcf.spec +++ b/opengauss-dcf.spec @@ -1,6 +1,6 @@ Name: DCF Version: 6.0.0 -Release: 9 +Release: 10 Summary: A distributed consensus framework library License: MulanPSL-2.0 URL: https://gitee.com/opengauss/DCF @@ -19,16 +19,16 @@ DCF is A distributed consensus framework library for openGauss %prep %setup -q %ifarch sw_64 -%patch1 -p1 +%patch -P1 -p1 %endif %ifarch riscv64 -%patch2 -p1 +%patch -P2 -p1 %endif %build -cmake -DCMAKE_BUILD_TYPE=Release -DTEST=OFF -DENABLE_EXPORT_API=OFF CMakeLists.txt -%make_build all -s %{?_smp_mflags} - +%define _warning_options %{nil} +%cmake -DCMAKE_BUILD_TYPE=Release -DTEST=OFF -DENABLE_EXPORT_API=OFF +%cmake_build %install mkdir -p %{buildroot}/%{_prefix}/include @@ -53,6 +53,9 @@ cp output/lib/libdcf.* %{buildroot}/%{_prefix}/lib64 %endif %changelog +* Tue Nov 05 2024 Funda Wang - 6.0.0-10 +- adopt to cmake macro change + * Sat Nov 2 2024 liuheng - 6.0.0-9 - Update version to 6.0.0