From c07521a778cd1d70698672c6bb3cb6ae492b2768 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Tue, 25 Aug 2015 06:42:06 +0000 Subject: [PATCH] - correct spec for 1.8.2 --- seabios.spec | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/seabios.spec b/seabios.spec index d2a48a4..dbbe8ab 100644 --- a/seabios.spec +++ b/seabios.spec @@ -1,16 +1,14 @@ Summary: Open source implementation of a 16-bit x86 BIOS Summary(pl.UTF-8): Implementacja 16-bitowego BIOS-u x86 o otwartych źródłach Name: seabios -Version: 1.7.5 -Release: 2 +Version: 1.8.2 +Release: 1 License: LGPL v3 Group: Applications/System Source0: http://code.coreboot.org/p/seabios/downloads/get/%{name}-%{version}.tar.gz -# Source0-md5: 3f1e17485ca327b245ae5938d9aa02d9 -# binary for non-x86 archs -Source1: http://code.coreboot.org/p/seabios/downloads/get/bios.bin-%{version}.gz -# Source1-md5: f14eccbad35cd802ef785bde48a43519 +# Source0-md5: d08a501fb918698f24a0de012c687729 URL: http://seabios.org/ +ExclusiveArch: %{ix86} %{x8664} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -31,30 +29,22 @@ SeaBIOS to domyślny BIOS dla narzędzi QEMU, KVM i Xen HVM. %setup -q %build -%ifarch %{ix86} %{x8664} %{__make} -%endif %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_datadir}/%{name} -%ifarch %{ix86} %{x8664} install out/bios.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/bios.bin install out/src/fw/*.aml $RPM_BUILD_ROOT%{_datadir}/%{name} -%else -gunzip -c %{SOURCE1} > $RPM_BUILD_ROOT%{_datadir}/%{name}/bios.bin -%endif %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc README TODO +%doc README %dir %{_datadir}/%{name} %{_datadir}/%{name}/bios.bin -%ifarch %{ix86} %{x8664} %{_datadir}/%{name}/*.aml -%endif -- 2.46.0