summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-09-24 18:59:40 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-09-24 22:04:46 +0200
commit0725a534d7a85b4cd7e017c787dad044a4552526 (patch)
tree1937f5e7206d12b8c44f68700e0518348189b4b4 /contrib
parent3767159dee1fac3127023777f178a74cc3daffd0 (diff)
downloadsssd-0725a534d7a85b4cd7e017c787dad044a4552526.tar.gz
sssd-0725a534d7a85b4cd7e017c787dad044a4552526.tar.bz2
sssd-0725a534d7a85b4cd7e017c787dad044a4552526.zip
RPM: Create ghost files during install
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