[packages/systemd] fix build with configure cache enabled
glen
glen at pld-linux.org
Wed Aug 5 11:27:59 CEST 2015
commit fbb31dd0c2e796eb23506f33670f20fba25416af
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Aug 5 12:19:12 2015 +0300
fix build with configure cache enabled
systemd.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/systemd.spec b/systemd.spec
index ecf4fc7..20b6a1f 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -668,7 +668,7 @@ cp -p %{SOURCE2} src/systemd_booted.c
%{__autoheader}
%{__automake}
-for PYTHON in "%{__python}" %{?with_python3:"%{__python3}"} ; do
+for PYTHON in %{__python} %{?with_python3:%{__python3}}; do
%configure \
QUOTAON=/sbin/quotaon \
@@ -679,6 +679,9 @@ for PYTHON in "%{__python}" %{?with_python3:"%{__python3}"} ; do
KEXEC=/sbin/kexec \
PYTHON="$PYTHON" \
PYTHON_BINARY="$PYTHON" \
+%if "%{?configure_cache}" == "1"
+ --cache-file=%{?configure_cache_file}%{!?configure_cache_file:configure}-$(basename $PYTHON).cache \
+%endif
%{?debug:--enable-debug} \
%{__enable_disable audit} \
%{__enable_disable cryptsetup libcryptsetup} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/231314d27ce951276564c341755b4a3ca6d97a4f
More information about the pld-cvs-commit
mailing list