RPM in RHEL 5 requires %ghost entries to be present in the build
root.

Pushed to master under the one-liner and unbreak-the-build rules.
From 15c66e6086fee9f1d5e008896b60164ce8c8029c Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgall...@redhat.com>
Date: Thu, 11 Aug 2011 12:48:32 -0400
Subject: [PATCH] Fix broken RHEL5 build

RPM in RHEL 5 requires %ghost entries to be present in the build
root.
---
 contrib/sssd.spec.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index d3b947c5ce2a89209b97219282e99aea43648a39..e489068d4e745b0782ac33f9e5c0a4dbb7fc3c24 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -195,6 +195,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
 
 # Copy SSSDConfig API files
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sssd
+touch $RPM_BUILD_ROOT/%{_sysconfdir}/sssd/sssd.conf
 install -m444 src/config/etc/sssd.api.conf $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.api.conf
 install -m444 src/config/etc/sssd.api.d/* $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.api.d/
 
-- 
1.7.6

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to