summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openlmi-providers.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/openlmi-providers.spec b/openlmi-providers.spec
index 55d3f06..7ffe15e 100644
--- a/openlmi-providers.spec
+++ b/openlmi-providers.spec
@@ -234,6 +234,7 @@ popd
make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
# The log file must be created
+mkdir -p "$RPM_BUILD_ROOT/ %{_localstatedir}/log"
touch "$RPM_BUILD_ROOT/%logfile"
# XXX