extended %__spec_build_template and %__spec_install_template by adding CCACHE_DIR and CCACHE_CC variables

This commit is contained in:
Дмитрий Левин 2002-06-13 10:53:54 +00:00
parent adbe6f70ec
commit 0804e6dfbe

View File

@ -652,6 +652,8 @@
%__spec_build_body %{___build_body}
%__spec_build_post %{___build_post}
%__spec_build_template #!%{__spec_build_shell}\
%{?__ccache_dir:export CCACHE_DIR=%__ccache_dir}\
%{?__ccache_cc:export CCACHE_CC=%__ccache_cc}\
%{__spec_build_pre}\
%{nil}
@ -669,6 +671,8 @@
%{__os_install_post}\
%{nil}
%__spec_install_template #!%{__spec_install_shell}\
%{?__ccache_dir:export CCACHE_DIR=%__ccache_dir}\
%{?__ccache_cc:export CCACHE_CC=%__ccache_cc}\
%{__spec_install_pre}\
%{nil}