From 38537cfaf969f97fbb46aebfbb2ab84a8a4812fb Mon Sep 17 00:00:00 2001 From: zhang_xubo <2578876417@qq.com> Date: Thu, 10 Feb 2022 11:37:15 +0800 Subject: [PATCH] move libdcf library file to lib64 path --- opengauss-dcf.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/opengauss-dcf.spec b/opengauss-dcf.spec index 37124c6..e62654a 100644 --- a/opengauss-dcf.spec +++ b/opengauss-dcf.spec @@ -1,6 +1,6 @@ Name: DCF Version: 1.0.0 -Release: 1 +Release: 2 Summary: A distributed consensus framework library License: MulanPSL-2.0 URL: https://gitee.com/opengauss/DCF @@ -26,9 +26,9 @@ cmake -DCMAKE_BUILD_TYPE=Release -DUSE32BIT=OFF -DTEST=OFF -DENABLE_EXPORT_API=O %install mkdir -p %{buildroot}/%{_prefix}/include -mkdir -p %{buildroot}/%{_prefix}/lib +mkdir -p %{buildroot}/%{_prefix}/lib64 cp src/interface/dcf_interface.h %{buildroot}/%{_prefix}/include -cp output/lib/libdcf.* %{buildroot}/%{_prefix}/lib +cp output/lib/libdcf.* %{buildroot}/%{_prefix}/lib64 %post @@ -37,8 +37,11 @@ cp output/lib/libdcf.* %{buildroot}/%{_prefix}/lib %files %defattr (-,root,root) %{_prefix}/include/dcf_interface.h -%{_prefix}/lib/libdcf.so +%{_prefix}/lib64/libdcf.so %changelog +* Thu Feb 10 2022 zhangxubo - 1.0.0-2 +- #I4T3R3 move library file to /usr/lib64 path. + * Wed Dec 1 2021 zhangxubo - 1.0.0-1 - Package init -- Gitee