[sgabios] Fix date in release string.

Richard W.M. Jones rjones at fedoraproject.org
Sun Aug 12 22:15:57 UTC 2012


commit 465d40601d1fba5ac16dbf0ca37aafc562eef0dd
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Sun Aug 12 23:09:47 2012 +0100

    Fix date in release string.
    
    NB: To make this version > than the previous, I had to use 1.1.20110622
    instead of 0.1.20110622, since the old second field was 20110623.
    
    - Unset MAKEFLAGS, since parallel make breaks the build.
    
    - Bring the spec file up to modern standards.

 sgabios.spec |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/sgabios.spec b/sgabios.spec
index 624f7db..924c594 100644
--- a/sgabios.spec
+++ b/sgabios.spec
@@ -1,6 +1,6 @@
 Name:           sgabios
 Version:        0
-Release:        0.20110623SVN%{?dist}
+Release:        1.1.20110622svn%{?dist}
 Summary:        Open-source serial graphics BIOS option rom
 
 Group:          Applications/Emulators
@@ -11,8 +11,6 @@ URL:            http://code.google.com/p/sgabios/
 # tar -czvf sgabios-0-svnr8.tar.gz sgabios-0
 Source0:        sgabios-0-svnr8.tar.gz
 
-BuildRoot:      %{_tmppath}/%{name}-root-%(%{__id_u} -n)
-
 ExclusiveArch: %{ix86} x86_64
 
 Requires: %{name}-bin = %{version}-%{release}
@@ -43,6 +41,7 @@ characters for later collection after an operating system boots.
 %setup -q
 
 %build
+unset MAKEFLAGS
 %ifarch %{ix86} x86_64 
 export CFLAGS="$RPM_OPT_FLAGS"
 make
@@ -50,30 +49,30 @@ make
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/sgabios
 %ifarch %{ix86} x86_64 
 install -m 0644 sgabios.bin $RPM_BUILD_ROOT%{_datadir}/sgabios
 %endif
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc COPYING design.txt
 
 %ifarch %{ix86} x86_64 
 %files bin
-%defattr(-,root,root,-)
 %dir %{_datadir}/sgabios/
 %{_datadir}/sgabios/sgabios.bin
 %endif
 
 
 %changelog
+* Sun Aug 12 2012 Richard W.M. Jones <rjones at redhat.com> - 0-1.1.20110622svn
+- Fix date in release string.
+  NB: To make this version > than the previous, I had to use 1.1.20110622
+  instead of 0.1.20110622, since the old second field was 20110623.
+- Unset MAKEFLAGS, since parallel make breaks the build.
+- Bring the spec file up to modern standards.
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0-0.20110623SVN
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list