gdm we need to fool the building to think we are redhat

Signed-off-by: guibuilder_pel7x64builder0 <guibuilder@powerel.org>
master
guibuilder_pel7x64builder0 2018-06-26 12:37:10 +02:00
parent 8ebb1d3b8e
commit 514389dcda
1 changed files with 2 additions and 0 deletions

View File

@ -143,6 +143,8 @@ autoreconf --force --install --verbose

%build

sed -i 's|/etc/redhat-release|/etc/powerel-release|' configure

%configure --with-pam-prefix=%{_sysconfdir} \
--with-run-dir=/run/gdm \
--with-default-path="/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" \