Avoid private libs explore in public
The spec automaticlly provides the libpq.so which is the same with postgresql-libs package. In public area, it should not find 2 or more packages provide the same lib. So this might break the downstream dependencies which using pkgconfig(libpq). For this reason, we hide the gpdb private libs.
This commit is contained in:
parent
184a1c366e
commit
e956e74705
10
gpdb.spec
10
gpdb.spec
@ -1,6 +1,6 @@
|
|||||||
NAME: gpdb
|
NAME: gpdb
|
||||||
Version: 6.17.0
|
Version: 6.17.0
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Open Source Greenplum Database
|
Summary: Open Source Greenplum Database
|
||||||
|
|
||||||
License: Apache 2.0
|
License: Apache 2.0
|
||||||
@ -19,6 +19,9 @@ BuildRequires: apr-devel bison bzip2-devel cmake3 flex gcc gcc-c++ krb5-devel li
|
|||||||
Requires: apr apr-util bash bzip2 curl iproute krb5-devel less libcurl libxml2 libyaml net-tools openldap openssh openssh-clients openssh-server openssl perl readline rsync sed tar which zip zlib
|
Requires: apr apr-util bash bzip2 curl iproute krb5-devel less libcurl libxml2 libyaml net-tools openldap openssh openssh-clients openssh-server openssl perl readline rsync sed tar which zip zlib
|
||||||
Requires: hostname net-tools iputils
|
Requires: hostname net-tools iputils
|
||||||
|
|
||||||
|
%global _privatelibs lib(pq|pgtypes|ecpg_compat|ecpg)\\.so*
|
||||||
|
%global __provides_exclude %{_privatelibs}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Greenplum Database - Massively Parallel PostgreSQL for Analytics. An open-source massively parallel data platform for analytics, machine learning and AI.
|
Greenplum Database - Massively Parallel PostgreSQL for Analytics. An open-source massively parallel data platform for analytics, machine learning and AI.
|
||||||
|
|
||||||
@ -73,7 +76,7 @@ export PGUSER=$TEST_USER
|
|||||||
ulimit -n 65535
|
ulimit -n 65535
|
||||||
make -C gpAux/gpdemo cluster
|
make -C gpAux/gpdemo cluster
|
||||||
|
|
||||||
warmup env
|
# warmup env
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
source gpAux/gpdemo/gpdemo-env.sh
|
source gpAux/gpdemo/gpdemo-env.sh
|
||||||
@ -86,6 +89,9 @@ make installcheck-world
|
|||||||
/usr/local/greenplum-db-%{version}
|
/usr/local/greenplum-db-%{version}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 26 2021 bzhaoop <bzhaojyathousandy@gmail.com> - 6.17.0-4
|
||||||
|
- Fix multiple provides for forbiding the private libs in public area.
|
||||||
|
|
||||||
* Thu Aug 12 2021 peifengq <qiupf2000@gmail.com> - 6.17.0-3
|
* Thu Aug 12 2021 peifengq <qiupf2000@gmail.com> - 6.17.0-3
|
||||||
- Run full regress conditionally
|
- Run full regress conditionally
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user