summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadek Novacek <rnovacek@redhat.com>2013-08-26 11:25:11 +0200
committerRadek Novacek <rnovacek@redhat.com>2013-08-27 08:45:38 +0200
commit27e20260e560f301497993dfa6a5402be1e261ca (patch)
treeb58f51789df53f92134ba908a2c618e65b0e4403
parentdf36fb349aad7e067be5a67d99de81cf3ab645be (diff)
downloadopenlmi-providers-27e20260e560f301497993dfa6a5402be1e261ca.tar.gz
openlmi-providers-27e20260e560f301497993dfa6a5402be1e261ca.tar.xz
openlmi-providers-27e20260e560f301497993dfa6a5402be1e261ca.zip
spec: Create log file in buildroot
It needs to be present in the buildroot but will not be actually installed. See: http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html#S3-RPM-INSIDE-FLIST-GHOST-DIRECTIVE
-rw-r--r--openlmi-providers.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/openlmi-providers.spec b/openlmi-providers.spec
index 7343587..55d3f06 100644
--- a/openlmi-providers.spec
+++ b/openlmi-providers.spec
@@ -233,6 +233,9 @@ popd
%install
make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+# The log file must be created
+touch "$RPM_BUILD_ROOT/%logfile"
+
# XXX
# Remove pythonies
# Don't forget to remove this dirty hack in the future