summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index cd383ad2..521023aa 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -319,6 +319,11 @@ do
esac
done
+# Old versions of rpmbuild require %ghost files to be present in the buildroot
+mkdir -p $RPM_BUILD_ROOT/%{mcpath}
+touch $RPM_BUILD_ROOT/%{mcpath}/passwd
+touch $RPM_BUILD_ROOT/%{mcpath}/group
+
%clean
rm -rf $RPM_BUILD_ROOT