diff options
author | Dan Horák <dan@danny.cz> | 2011-01-25 09:50:05 +0100 |
---|---|---|
committer | Dan Horák <dan@danny.cz> | 2011-01-25 09:50:05 +0100 |
commit | cfdfd01df88603fcc4dc5bca6ad164a5fb191fec (patch) | |
tree | 26882b57211415154cce409757a746e2d997c449 | |
parent | 89a0c6d9b9eaf28c0a7fa1c654ec4ef21a59b0e2 (diff) | |
download | kernel-cfdfd01df88603fcc4dc5bca6ad164a5fb191fec.tar.gz kernel-cfdfd01df88603fcc4dc5bca6ad164a5fb191fec.tar.xz kernel-cfdfd01df88603fcc4dc5bca6ad164a5fb191fec.zip |
all_arch_configs can be undefined
"all_arch_configs" is not defined on architectures where only the kernel-headers
package is built, like on s390 and sparc/sparcv9.
workarounds Jarod's 5b65297cef481cbbccc803152b6c05d101169ead
-rw-r--r-- | kernel.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel.spec b/kernel.spec index f25a4616e..78e32028d 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1120,6 +1120,7 @@ cp %{SOURCE15} . # Dynamically generate kernel .config files from config-* files make -f %{SOURCE20} VERSION=%{version} configs +%if %{?all_arch_configs:1}%{!?all_arch_configs:0} #if a rhel kernel, apply the rhel config options %if 0%{?rhel} for i in %{all_arch_configs} @@ -1137,6 +1138,7 @@ do ./merge.pl %{SOURCE1000} $i.tmp > $i rm $i.tmp done +%endif ApplyOptionalPatch git-linus.diff |