Bug 220970 - openldap spec file assumes _localstatedir set to /var
Summary: openldap spec file assumes _localstatedir set to /var
Alias: None
Product: Fedora
Classification: Fedora
Component: openldap
Version: 6
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jan Safranek
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2006-12-29 19:35 UTC by Hal Finkel
Modified: 2007-11-30 22:11 UTC (History)
0 users

Clone Of:
Last Closed: 2007-05-18 08:12:51 UTC

Attachments (Terms of Use)

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

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.

Note You need to log in before you can comment on or make changes to this bug.