Make __requires_exclude effective

This commit is contained in:
wang--ge 2021-09-16 15:47:12 +08:00
parent 4ebd36af30
commit 6c12711b8c

View File

@ -1,10 +1,12 @@
%global __provides_exclude_from ^%{_libdir}/collectd/.*\\.so$ %global __provides_exclude_from ^%{_libdir}/collectd/.*\\.so$
%undefine _strict_symbol_defs_build %undefine _strict_symbol_defs_build
%global _privatelibs lib(pq|pgtypes|ecpg_compat|ecpg)\\.so*
%global __requires_exclude %{_privatelibs}
Summary: Statistics collection daemon for filling RRD files Summary: Statistics collection daemon for filling RRD files
Name: collectd Name: collectd
Version: 5.9.0 Version: 5.9.0
Release: 1 Release: 3
License: GPLv2 License: GPLv2
URL: https://collectd.org/ URL: https://collectd.org/
@ -334,7 +336,7 @@ an extension for the PHP interpreter.
%package postgresql %package postgresql
Summary: PostgreSQL plugin for collectd Summary: PostgreSQL plugin for collectd
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildRequires: libpq-devel BuildRequires: postgresql-13-server-devel
%description postgresql %description postgresql
PostgreSQL querying plugin. This plugins provides data of issued commands, PostgreSQL querying plugin. This plugins provides data of issued commands,
called handlers and database traffic. called handlers and database traffic.
@ -1036,5 +1038,11 @@ make check
%changelog %changelog
* Thu Sep 16 2021 Ge Wang <wangge20@huawei.com> - 5.9.0-3
- Make __require_exclude macro effective via Regular Expression
* Thu Sep 16 2021 Ge Wang <wangge20@huawei.com> - 5.9.0-2
- Replace subpackage collectd-postgresql's buildrequire libpq-devel with postgresql-13-server-devel
* Tue Aug 17 2021 Python_Bot <Python_Bot@openeuler.org> - 5.9.0-1 * Tue Aug 17 2021 Python_Bot <Python_Bot@openeuler.org> - 5.9.0-1
- Init package - Init package