kernel.spec, %ifarch overdoze
Paweł Zuzelski
pawelz at pld-linux.org
Thu Sep 2 14:55:20 CEST 2010
packages/kernel/kernel.spec @HEAD, line 1157:
%ifarch alpha sparc sparc64
%{__gzip} -cfv %{objdir}/vmlinux > %{objdir}/vmlinuz
cp -a %{objdir}/vmlinuz $RPM_BUILD_ROOT/boot/vmlinuz-%{kernel_release}
install %{objdir}/vmlinux $RPM_BUILD_ROOT/boot/vmlinuz-%{kernel_release}
%ifarch sparc
elftoaout %{objdir}/arch/sparc/boot/image -o %{objdir}/vmlinux.aout
install %{objdir}/vmlinux.aout $RPM_BUILD_ROOT/boot/vmlinux.aout-%{kernel_release}
%endif
%ifarch sparc64
elftoaout %{objdir}/arch/sparc64/boot/image -o %{objdir}/vmlinux.aout
install %{objdir}/vmlinux.aout $RPM_BUILD_ROOT/boot/vmlinux.aout-%{kernel_release}
%endif
%ifarch arm
install %{objdir}/arch/arm/boot/zImage $RPM_BUILD_ROOT/boot/vmlinuz-%{kernel_release}
%endif
%endif
Last %ifarch seems to be noop. Is last %endif is misplaced, or 'arm'
should be appended to the first %ifarch?
--
Regards,
Paweł
More information about the pld-devel-en
mailing list