From 0725a534d7a85b4cd7e017c787dad044a4552526 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Mon, 24 Sep 2012 18:59:40 +0200 Subject: RPM: Create ghost files during install --- contrib/sssd.spec.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'contrib') 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 -- cgit