x86only: remove unpackaged non-x86 bios files

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
Eduardo Habkost 2012-08-24 15:55:38 -03:00 committed by Eduardo Habkost
parent 68195c49fc
commit a580d5ae6d

View File

@ -541,6 +541,13 @@ rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc64
# Provided by package SLOF
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/slof.bin
# remove unpackaged files on x86only:
%if %{with x86only}
rm -f ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bamboo.dtb
rm -f ${RPM_BUILD_ROOT}%{_datadir}/%{name}/ppc_rom.bin
rm -f ${RPM_BUILD_ROOT}%{_datadir}/%{name}/spapr-rtas.bin
%endif
# The following aren't provided by any Fedora package
# Used by target s390/s390x