summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-03-27 10:43:12 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-04-08 11:40:02 +0200
commitf66f5357274cc3f2aac92840bd89840d0719a428 (patch)
treee2bdd2806d280ceb3f073b952177c32d668ddb7f
parent148623c863657eafa565ba349f28a7e42a404f6f (diff)
downloadsssd-f66f5357274cc3f2aac92840bd89840d0719a428.tar.gz
sssd-f66f5357274cc3f2aac92840bd89840d0719a428.tar.xz
sssd-f66f5357274cc3f2aac92840bd89840d0719a428.zip
SPEC: Drop workarounds for old rpmbuild
Old versions of rpmbuild require ghost files to be present in the buildroot. It was mainly problem of rpmbuild on rhel5 which is not supported anymore. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
-rw-r--r--contrib/sssd.spec.in9
1 files changed, 0 insertions, 9 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index dfcf809f7..c7bdd9d86 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -586,10 +586,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
# Prepare language files
/usr/lib/rpm/find-lang.sh $RPM_BUILD_ROOT sssd
-# Prepare empty config file (needed for RHEL 5)
-mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sssd
-touch $RPM_BUILD_ROOT/%{_sysconfdir}/sssd/sssd.conf
-
# Copy default logrotate file
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d
install -m644 src/examples/logrotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/sssd
@@ -663,11 +659,6 @@ 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