From a47c6c66421587f220ddc4d62d7cc02e01be057ad60bd9a505a48f0bd82ecb61 Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Tue, 4 Apr 2017 10:23:01 +0000 Subject: [PATCH] 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 --- pcp.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pcp.spec b/pcp.spec index 7d95e37..cd44892 100644 --- a/pcp.spec +++ b/pcp.spec @@ -188,7 +188,7 @@ Patch9: 0009-pmsnap-control-var-www-srv-www.patch %global disable_libvirt 0 %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 %global disable_postgresql 1 %else @@ -901,7 +901,11 @@ Summary: Performance Co-Pilot (PCP) metrics for 389 Directory Servers License: %{license_gplv2plus} Group: %{pcp_gr} Url: http://www.pcp.io +%if 0%{?suse_version} +Requires: perl-ldap +%else Requires: perl-LDAP +%endif Requires: perl-PCP-PMDA = %{version}-%{release} %description pmda-ds389