public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/8088_bios] rawhide: Update to 1.0.2
@ 2026-10-18 23:26 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-10-18 23:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/8088_bios
Branch : rawhide
Commit : a7b631f79ca9e2a0df8f81325b2a9d514468cfde
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-17T14:22:48-03:00
Stats : +19/-10 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/8088_bios/c/a7b631f79ca9e2a0df8f81325b2a9d514468cfde?branch=rawhide
Log:
Update to 1.0.2
Resolves: rhbz#2243698
---
diff --git a/8088_bios.spec b/8088_bios.spec
index d8f798d..82ef8a2 100644
--- a/8088_bios.spec
+++ b/8088_bios.spec
@@ -1,5 +1,5 @@
Name: 8088_bios
-Version: 0.9.9
+Version: 1.0.2
Release: %autorelease
Summary: BIOS for Intel 8088 based computers
@@ -7,6 +7,7 @@ License: GPL-3.0-or-later
URL: https://github.com/skiselev/8088_bios
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+BuildRequires: cmake
BuildRequires: coreutils
BuildRequires: make
BuildRequires: nasm
@@ -21,20 +22,28 @@ Micro 8088, Xi 8088 and Sergey's XT.
%prep
%autosetup
-# Replace bundled xtide bios with the packaged version padded to 8 kB
-dd if=%{_datadir}/xtideuniversalbios/ide_xt.bin of=ide_xt.bin bs=8k count=1 conv=sync
+# Replace bundled files in xtide_r625/ with Fedora packaged version padded to 8 kB
+dd if=%{_datadir}/xtideuniversalbios/ide_xt.bin of=xtide_r625/ide_xt-cf-lite_300h.bin bs=8k count=1 conv=sync
+dd if=%{_datadir}/xtideuniversalbios/ide_xtp.bin of=xtide_r625/ide_xtp-cf-lite_300h.bin bs=8k count=1 conv=sync
+dd if=%{_datadir}/xtideuniversalbios/ide_xt.bin of=xtide_r625/ide_xt-cf-lite_320h.bin bs=8k count=1 conv=sync
+dd if=%{_datadir}/xtideuniversalbios/ide_xt.bin of=xtide_r625/ide_xt-xt-ide-v2-300h.bin bs=8k count=1 conv=sync
+dd if=%{_datadir}/xtideuniversalbios/ide_xtp.bin of=xtide_r625/ide_xtp-xt-ide-v2-300h.bin bs=8k count=1 conv=sync
%build
-for machine in MACHINE_XI8088 MACHINE_FE2010A; do
- %make_build MACHINE="$machine" XTIDE=ide_xt.bin
- rm bios.bin bios.lst
-done
+%cmake
+%cmake_build
%install
-install -Dpm0644 -t %{buildroot}%{_datadir}/%{name} bios*.bin
+install -Dpm0644 -t %{buildroot}%{_datadir}/%{name} %{__cmake_builddir}/bios*.bin
+install -Dpm0644 -t %{buildroot}%{_datadir}/%{name} %{__cmake_builddir}/bios*.rom
+
+%check
+# Sanity check to ensure the output binaries are not empty
+test -s %{__cmake_builddir}/bios-micro8088.bin
+test -s %{__cmake_builddir}/bios-xi8088.bin
%files
-%license copyright.tmpl
+%license LICENSE.txt copyright.tmpl
%doc README.md
%{_datadir}/%{name}/
diff --git a/sources b/sources
index 8dd9151..1af107f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (8088_bios-0.9.9.tar.gz) = 905ae5a9fcbcda53bd8beab70f17a3fd329788cd76b8f41bfc8fc14a835bae427ffe68c0f8e4ce9d04b6ef19df15941d2bb89d5c0fdec151f7df5cb86204fdbf
+SHA512 (8088_bios-1.0.2.tar.gz) = 8a31e803505aa77387f01beed2da509a34203c7278021600c8dbba45252c6e23033e24291eca23b6b9c2d83e904ab00efb2b3f2a65a00dd0ff8672720e886fd6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-18 23:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-18 23:26 [rpms/8088_bios] rawhide: Update to 1.0.2 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox