Accepting request 485083 from home:dmdiss:pcp-311

Fix SLE12-SP3 build, and perl-ldap dependency for pcp-pmda-ds389.

OBS-URL: https://build.opensuse.org/request/show/485083
OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=51
This commit is contained in:
David Disseldorp 2017-04-04 10:23:01 +00:00 committed by Git OBS Bridge
parent 941c074f1a
commit a47c6c6642

View File

@ -188,7 +188,7 @@ Patch9: 0009-pmsnap-control-var-www-srv-www.patch
%global disable_libvirt 0 %global disable_libvirt 0
%endif %endif
%if 0%{?sle_version} && 0%{?sle_version} <= 120200 %if 0%{?sle_version} && 0%{?sle_version} <= 120300
# SUSE doesn't currently ship the perl-DBD-Pg dependency # SUSE doesn't currently ship the perl-DBD-Pg dependency
%global disable_postgresql 1 %global disable_postgresql 1
%else %else
@ -901,7 +901,11 @@ Summary: Performance Co-Pilot (PCP) metrics for 389 Directory Servers
License: %{license_gplv2plus} License: %{license_gplv2plus}
Group: %{pcp_gr} Group: %{pcp_gr}
Url: http://www.pcp.io Url: http://www.pcp.io
%if 0%{?suse_version}
Requires: perl-ldap
%else
Requires: perl-LDAP Requires: perl-LDAP
%endif
Requires: perl-PCP-PMDA = %{version}-%{release} Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-ds389 %description pmda-ds389