Fix config since koji preps as noarch
This commit is contained in:
parent
9bf060eb5e
commit
3e716334ce
13
kernel.spec
13
kernel.spec
@ -1457,8 +1457,14 @@ done
|
|||||||
rm -f kernel-%{version}-*debug.config
|
rm -f kernel-%{version}-*debug.config
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# now run oldconfig over all the config files
|
arch=%{_target_cpu}
|
||||||
for i in kernel-*-%{_target_cpu}*.config
|
# Koji preps as noarch. Pick the config file for the arch.
|
||||||
|
if [ "%{_target_cpu}" -eq "noarch" ]; then
|
||||||
|
arch=$(uname -p)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# now run oldconfig over the config files
|
||||||
|
for i in kernel-*-$arch-*.config
|
||||||
do
|
do
|
||||||
mv $i .config
|
mv $i .config
|
||||||
Arch=`head -1 .config | cut -b 3-`
|
Arch=`head -1 .config | cut -b 3-`
|
||||||
@ -2283,6 +2289,9 @@ fi
|
|||||||
# ||----w |
|
# ||----w |
|
||||||
# || ||
|
# || ||
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 02 2012 Justin M. Forbes <jforbes@redhat.com> - 3.4.0-0.rc1.git0.2
|
||||||
|
- Fix config since koji preps as noarch
|
||||||
|
|
||||||
* Mon Apr 02 2012 Justin M. Forbes <jforbes@redhat.com> - 3.4.0-0.rc1.git0.2
|
* Mon Apr 02 2012 Justin M. Forbes <jforbes@redhat.com> - 3.4.0-0.rc1.git0.2
|
||||||
- Disable debugging options.
|
- Disable debugging options.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user