Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Commit 4f2cde6

Browse files
committed
Update spec files
1 parent 44b1425 commit 4f2cde6

File tree

2 files changed

+43
-72
lines changed

2 files changed

+43
-72
lines changed

packaging/rpm/el/SPECS/cloudberry-db.spec

Lines changed: 39 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Summary: High-performance, open-source data warehouse based on PostgreSQL
55

66
License: ASL 2.0
77
URL: https://cloudberrydb.org
8+
Vendor: Cloudberry Open Source
89
Source0: cloudberry-binary.tar.gz
910

1011
# Disable debugsource files
@@ -14,116 +15,79 @@ Source0: cloudberry-binary.tar.gz
1415
%define cloudberry_prefix /usr/local
1516

1617
# List runtime dependencies
17-
%if 0%{?rhel} == 8
18-
Requires: /bin/sh
19-
Requires: apr
20-
Requires: audit-libs
21-
Requires: brotli
22-
Requires: bzip2-libs
23-
Requires: cyrus-sasl-lib
24-
Requires: glibc
18+
19+
Requires: bash
2520
Requires: iproute
2621
Requires: iputils
27-
Requires: keyutils-libs
28-
Requires: krb5-libs
29-
Requires: libcap-ng
30-
Requires: libcom_err
22+
Requires: openssh
23+
Requires: openssh-clients
24+
Requires: openssh-server
25+
Requires: rsync
26+
27+
%if 0%{?rhel} == 8
28+
Requires: apr
29+
Requires: audit
30+
Requires: bzip2
31+
Requires: keyutils
3132
Requires: libcurl
3233
Requires: libevent
33-
Requires: libgcc
3434
Requires: libidn2
35-
Requires: libnghttp2
36-
Requires: libpsl
3735
Requires: libselinux
38-
Requires: libssh
3936
Requires: libstdc++
40-
Requires: libunistring
4137
Requires: libuuid
4238
Requires: libuv
43-
Requires: libxcrypt
4439
Requires: libxml2
4540
Requires: libyaml
4641
Requires: libzstd
47-
Requires: lz4-libs
48-
Requires: ncurses-libs
42+
Requires: lz4
4943
Requires: openldap
50-
Requires: openssh
51-
Requires: openssh-clients
52-
Requires: openssh-server
53-
Requires: openssl-libs
5444
Requires: pam
55-
Requires: pcre2
5645
Requires: perl
57-
Requires: perl-libs
5846
Requires: python3
59-
Requires: python3-libs
6047
Requires: readline
61-
Requires: rsync
62-
Requires: xz-libs
63-
Requires: zlib
6448
%endif
6549

6650
%if 0%{?rhel} == 9
67-
Requires: /bin/sh
6851
Requires: apr
69-
Requires: audit-libs
70-
Requires: bzip2-libs
71-
Requires: cyrus-sasl-lib
52+
Requires: bzip2
7253
Requires: glibc
73-
Requires: iproute
74-
Requires: iputils
75-
Requires: keyutils-libs
76-
Requires: krb5-libs
77-
Requires: libbrotli
78-
Requires: libcap-ng
79-
Requires: libcom_err
54+
Requires: keyutils
55+
Requires: libcap
8056
Requires: libcurl
81-
Requires: libeconf
82-
Requires: libevent
83-
Requires: libgcc
8457
Requires: libidn2
85-
Requires: libnghttp2
8658
Requires: libpsl
87-
Requires: libselinux
8859
Requires: libssh
8960
Requires: libstdc++
90-
Requires: libunistring
91-
Requires: libuuid
92-
Requires: libuv
93-
Requires: libxcrypt
9461
Requires: libxml2
9562
Requires: libyaml
9663
Requires: libzstd
97-
Requires: lz4-libs
98-
Requires: ncurses-libs
64+
Requires: lz4
9965
Requires: openldap
100-
Requires: openssh
101-
Requires: openssh-clients
102-
Requires: openssh-server
103-
Requires: openssl-libs
10466
Requires: pam
10567
Requires: pcre2
106-
Requires: perl-libs
107-
Requires: python3-libs
10868
Requires: readline
109-
Requires: rsync
110-
Requires: xz-libs
111-
Requires: zlib
69+
Requires: xz
11270
%endif
11371

11472
%description
115-
Cloudberry Database is an advanced, open-source, and highly parallel
116-
data warehouse developed from PostgreSQL and Greenplum. It offers
117-
powerful analytical capabilities and enhanced security features,
118-
making it suitable for complex data processing and analytics.
73+
74+
Cloudberry Database is an advanced, open-source, massively parallel
75+
processing (MPP) data warehouse developed from PostgreSQL and
76+
Greenplum. It is designed for high-performance analytics on
77+
large-scale data sets, offering powerful analytical capabilities and
78+
enhanced security features.
11979

12080
Key Features:
121-
- Parallel query execution for optimized performance
122-
- Integration with various ETL and BI tools
81+
82+
- Massively parallel processing for optimized performance
83+
- Advanced analytics for complex data processing
84+
- Integration with ETL and BI tools
12385
- Compatibility with multiple data sources and formats
86+
- Enhanced security features
12487

125-
Cloudberry Database is ideal for use cases requiring both batch
126-
processing and real-time data warehousing.
88+
Cloudberry Database supports both batch processing and real-time data
89+
warehousing, making it a versatile solution for modern data
90+
environments.
12791

12892
For more information, visit the official Cloudberry Database website
12993
at https://cloudberrydb.org.
@@ -156,6 +120,12 @@ rmdir %{buildroot}%{cloudberry_prefix}/cloudberry-%{version}/cloudberry
156120
# Create the symbolic link
157121
ln -sfn %{cloudberry_prefix}/cloudberry-%{version} %{buildroot}%{cloudberry_prefix}/cloudberry
158122

123+
# Change ownership to gpadmin.gpadmin if the gpadmin user exists
124+
if id "gpadmin" &>/dev/null; then
125+
chown -R gpadmin:gpadmin %{buildroot}%{cloudberry_prefix}/cloudberry-%{version}
126+
fi
127+
128+
159129
%files
160130
%{cloudberry_prefix}/cloudberry-%{version}
161131
%{cloudberry_prefix}/cloudberry

packaging/rpm/repo-el/SPECS/cloudberry-dev-repo.spec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ Name: cloudberry-dev-repo
22
Version: 1.0
33
Release: 1%{?dist}
44
Summary: Cloudberry Database Repository Configuration
5-
License: Apache-2.0
6-
Group: Development/Tools
7-
URL: https://github.com/cloudberrydb/cloudberrydb
5+
License: ASL 2.0
6+
Group: Applications/Databases
7+
URL: https://cloudberrydb.org
8+
Vendor: Cloudberry Open Source
89
BuildArch: noarch
910

1011
%description

0 commit comments

Comments
 (0)