From 27e20260e560f301497993dfa6a5402be1e261ca Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Mon, 26 Aug 2013 11:25:11 +0200 Subject: 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 --- openlmi-providers.spec | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openlmi-providers.spec') 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 -- cgit