[sgabios] Fix deps with epoch bump

Cole Robinson crobinso at fedoraproject.org
Wed Oct 17 14:11:12 UTC 2012


commit 9ee8d679fc5252d4e86c779306cec4d34112e380
Author: Cole Robinson <crobinso at redhat.com>
Date:   Wed Oct 17 10:11:09 2012 -0400

    Fix deps with epoch bump

 sgabios.spec |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/sgabios.spec b/sgabios.spec
index 8c7d76d..42eefc8 100644
--- a/sgabios.spec
+++ b/sgabios.spec
@@ -3,7 +3,7 @@
 Name:           sgabios
 Epoch:          1
 Version:        0.20110622svn
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Open-source serial graphics BIOS option rom
 
 Group:          Applications/Emulators
@@ -16,7 +16,7 @@ Source0:        sgabios-0-svnr8.tar.gz
 
 ExclusiveArch: %{ix86} x86_64
 
-Requires: %{name}-bin = %{version}-%{release}
+Requires: %{name}-bin = %{epoch}:%{version}-%{release}
 
 # Sgabios is noarch, but required on architectures which cannot build it.
 # Disable debuginfo because it is of no use to us.
@@ -28,13 +28,13 @@ a serial port the display and input capabilities normally handled by a VGA
 adapter and a keyboard, and additionally provide hooks for logging displayed
 characters for later collection after an operating system boots.
 
-%ifarch %{ix86} x86_64 
+%ifarch %{ix86} x86_64
 %package bin
 Summary: Sgabios for x86
 Buildarch: noarch
 
 %description bin
-SGABIOS is designed to be inserted into a BIOS as an option rom to provide over 
+SGABIOS is designed to be inserted into a BIOS as an option rom to provide over
 a serial port the display and input capabilities normally handled by a VGA
 adapter and a keyboard, and additionally provide hooks for logging displayed
 characters for later collection after an operating system boots.
@@ -45,7 +45,7 @@ characters for later collection after an operating system boots.
 
 %build
 unset MAKEFLAGS
-%ifarch %{ix86} x86_64 
+%ifarch %{ix86} x86_64
 export CFLAGS="$RPM_OPT_FLAGS"
 make
 %endif
@@ -53,7 +53,7 @@ make
 
 %install
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/sgabios
-%ifarch %{ix86} x86_64 
+%ifarch %{ix86} x86_64
 install -m 0644 sgabios.bin $RPM_BUILD_ROOT%{_datadir}/sgabios
 %endif
 
@@ -61,7 +61,7 @@ install -m 0644 sgabios.bin $RPM_BUILD_ROOT%{_datadir}/sgabios
 %files
 %doc COPYING design.txt
 
-%ifarch %{ix86} x86_64 
+%ifarch %{ix86} x86_64
 %files bin
 %dir %{_datadir}/sgabios/
 %{_datadir}/sgabios/sgabios.bin
@@ -69,6 +69,9 @@ install -m 0644 sgabios.bin $RPM_BUILD_ROOT%{_datadir}/sgabios
 
 
 %changelog
+* Wed Oct 17 2012 Cole Robinson <crobinso at redhat.com> - 1:0.20110622svn-2
+- Fix deps with epoch bump
+
 * Tue Oct 15 2012 Paolo Bonzini <pbonzini at redhat.com> - 1:0.20110622svn-1
 - Move date from release to version (requires epoch bump).
 


More information about the scm-commits mailing list