diff --git a/SPECS/sgabios.spec b/SPECS/sgabios.spec index 921aef4..ce32b92 100644 --- a/SPECS/sgabios.spec +++ b/SPECS/sgabios.spec @@ -1,17 +1,15 @@ -%define tardir %{name}-0 +%global hash 72f39d4 +%global date 20180715 Name: sgabios Epoch: 1 -Version: 0.20180715svn +Version: 0.%{date}git Release: 1%{?dist} Summary: Open-source serial graphics BIOS option rom Group: Applications/Emulators License: ASL 2.0 -URL: http://code.google.com/p/sgabios/ -# Tarball created from SVN archive using the following commands: -# svn export -r 8 http://sgabios.googlecode.com/svn/trunk sgabios-0 -# tar -czvf sgabios-0-svnr8.tar.gz sgabios-0 -Source0: sgabios-0-svnr8.tar.gz +URL: https://github.com/qemu/sgabios +Source0: sgabios-%{date}-git%{hash}.tar.xz Patch0: sgabios-hostcc.patch BuildRequires: binutils-x86_64-linux-gnu gcc-x86_64-linux-gnu @@ -40,8 +38,8 @@ adapter and a keyboard, and additionally provide hooks for logging displayed characters for later collection after an operating system boots. %prep -%setup -q -n %{tardir} -%patch0 -p1 +%setup -q -n sgabios-%{date}-git%{hash} +#%patch0 -p1 %build unset MAKEFLAGS