From dd6a921ebadaad4b1a46dca34b3468ea8c60d29f Mon Sep 17 00:00:00 2001 From: zhang_xubo <2578876417@qq.com> Date: Thu, 9 Dec 2021 20:51:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A3=80=E8=A7=86=E6=84=8F?= =?UTF-8?q?=E8=A7=81:=E5=AF=B9=E9=BD=90=E5=92=8CLicense=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- opengauss-server.spec | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/opengauss-server.spec b/opengauss-server.spec index 6fd31d6..defb2c8 100644 --- a/opengauss-server.spec +++ b/opengauss-server.spec @@ -14,7 +14,7 @@ Name: opengauss Version: 2.1.0 Release: 1 Summary: openGauss is an open source relational database management system -License: MulanPSL-2.0 and MIT and BSD and zlib +License: MulanPSL-2.0 and MIT and BSD and zlib and TCL and Apache-2.0 and BSL-1.0 URL: https://gitee.com/opengauss/openGauss-server Source0: openGauss-server-%{version}.tar.xz Source1: %{cjson_name}-%{cjson_version}.tar.gz @@ -23,20 +23,20 @@ Source3: %{protobuf_name}-%{protobuf_version}.tar.gz Source4: %{orc_name}-%{orc_version}.tar.gz Source5: opengauss-bashprofile -Patch1: 0001-cJSON.patch -Patch20: 0001-zlib.patch -Patch21: 0002-zlib.patch -Patch22: 0003-zlib.patch -Patch23: makefile-miniunz.patch -Patch40: 0001-orc.patch +Patch1: 0001-cJSON.patch +Patch20: 0001-zlib.patch +Patch21: 0002-zlib.patch +Patch22: 0003-zlib.patch +Patch23: makefile-miniunz.patch +Patch40: 0001-orc.patch -BuildRequires: cmake gcc gcc-c++ openssl-devel python -BuildRequires: cjson lz4-devel protobuf-devel snappy-devel zstd-devel boost-devel -BuildRequires: libcgroup-devel curl-devel unixODBC-devel jemalloc-devel -BuildRequires: java-1.8.0-openjdk-devel libedit-devel libaio-devel -BuildRequires: bison flex DCF +BuildRequires: cmake gcc gcc-c++ openssl-devel python +BuildRequires: cjson lz4-devel protobuf-devel snappy-devel zstd-devel boost-devel +BuildRequires: libcgroup-devel curl-devel unixODBC-devel jemalloc-devel +BuildRequires: java-1.8.0-openjdk-devel libedit-devel libaio-devel +BuildRequires: bison flex DCF %ifnarch aarch64 %{arm} -BuildRequires: numactl-devel +BuildRequires: numactl-devel %endif @@ -209,11 +209,6 @@ su - opengauss -c "source ~/.bash_profile; gs_initdb -D /var/lib/opengauss/data su - opengauss -c "source ~/.bash_profile; gs_ctl start -D /var/lib/opengauss/data" -%postun - -%preun - - %files %defattr (-,root,root) %{apppath}