diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-09-24 18:59:40 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-09-24 22:04:46 +0200 |
commit | 0725a534d7a85b4cd7e017c787dad044a4552526 (patch) | |
tree | 1937f5e7206d12b8c44f68700e0518348189b4b4 /contrib | |
parent | 3767159dee1fac3127023777f178a74cc3daffd0 (diff) | |
download | sssd-0725a534d7a85b4cd7e017c787dad044a4552526.tar.gz sssd-0725a534d7a85b4cd7e017c787dad044a4552526.tar.xz sssd-0725a534d7a85b4cd7e017c787dad044a4552526.zip |
RPM: Create ghost files during install
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/sssd.spec.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index cd383ad2b..521023aab 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 |