diff --git a/ipxe.spec b/ipxe.spec index bdc938d5f2babc71a062b29b5c30008dfdc4b83c..6d2bebb4e71135e60840ac2f4287ea26f7d518b8 100644 --- a/ipxe.spec +++ b/ipxe.spec @@ -5,7 +5,7 @@ Name: ipxe Version: 1.20.1 -Release: 3 +Release: 4 Summary: A network boot loader Epoch: 1 License: GPLv2 with additional permissions and BSD @@ -85,7 +85,7 @@ make_ipxe() { "$@" } -make_ipxe bin-i386-efi/ipxe.efi bin-x86_64-efi/ipxe.efi +make_ipxe bin-i386-efi/ipxe.efi bin-x86_64-efi/ipxe.efi bin-x86_64-linux/tests.linux make_ipxe ISOLINUX_BIN=/usr/share/syslinux/isolinux.bin \ bin/undionly.kpxe bin/ipxe.{dsk,iso,usb,lkrn} \ @@ -143,6 +143,12 @@ for rom in %{qemuroms}; do done %endif +%check +%ifarch %{buildarches} +cd src/bin-x86_64-linux/ +./tests.linux +%endif + %ifarch %{buildarches} %files bootimgs %defattr(-,root,root) @@ -169,6 +175,12 @@ done %endif %changelog +* Thu Mar 09 2023 zhangqiumiao - 1:1.20.1-4 +- Type:testcode +- ID:NA +- SUG:NA +- DESC:enable make check + * Wed Jun 09 2021 wangkerong - 1:1.20.1-3 - Type:bugfix - Id:NA