Bug 220970

Summary: openldap spec file assumes _localstatedir set to /var
Product: [Fedora] Fedora Reporter: Hal Finkel <half>
Component: openldapAssignee: Jan Safranek <jsafrane>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openldap-2.3.30-2.fc6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-18 08:12:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hal Finkel 2006-12-29 19:35:01 UTC
The spec file for openldap-2.3.27-4 contains:
rmdir $RPM_BUILD_ROOT/var/openldap-slurp $RPM_BUILD_ROOT/var/openldap-data

This will cause the build to fail unless _localstatedir is set to /var, which is
not true on all systems. Although I believe this was the default on FC4, it
seems that as of FC5 the default value for this variable is %{_prefix}/var

This line should probably read something like:
rmdir $RPM_BUILD_ROOT%{_localstatedir}/openldap-slurp
$RPM_BUILD_ROOT%{_localstatedir}/openldap-data

Comment 1 Jan Safranek 2007-05-18 08:12:51 UTC
openldap-2.3.30-2.fc6 has been pushed for fc6, which should resolve this issue.
 If these problems are still present in this version, then please make note of
it in this bug report.