[linux-firmware/f16] use git to apply the radeon firmware

Dave Airlie airlied at fedoraproject.org
Wed Mar 21 09:53:43 UTC 2012


commit dba7d6e761821b90a3a3aebd18cf0ef37081fa15
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Mar 21 08:45:11 2012 +0000

    use git to apply the radeon firmware

 linux-firmware.spec |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/linux-firmware.spec b/linux-firmware.spec
index f5df658..7dd16b1 100644
--- a/linux-firmware.spec
+++ b/linux-firmware.spec
@@ -2,7 +2,7 @@
 
 Name:		linux-firmware
 Version:	20120206
-Release:	0.2.git%{checkout}%{?dist}
+Release:	0.3.git%{checkout}%{?dist}
 Summary:	Firmware files used by the Linux kernel
 
 Group:		System Environment/Kernel
@@ -18,6 +18,7 @@ Obsoletes:	ueagle-atm4-firmware < 1.0-5
 # whatever happens to be in the last checkout.
 Requires:	netxen-firmware
 Requires:	udev
+BuildRequires: git
 
 Patch1: 0001-radeon-firmware-for-Southern-Islands-GPU-and-Trinity.patch
 
@@ -27,7 +28,14 @@ operate.
 
 %prep
 %setup -q -n linux-firmware-%{checkout}
-%patch1 -p1
+git init .
+if [ -z "$GIT_COMMITTER_NAME" ]; then
+    git config user.email "nobody at fedoraproject.org"
+    git config user.name "Fedora X Ninjas"
+fi
+git add .
+git commit -m init .
+git am %{PATCH1}
 
 %build
 # Remove firmware shipped in separate packages already
@@ -61,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT
 /lib/firmware/*
 
 %changelog
+* Wed Mar 21 2012 Dave Airlie <airlied at redhat.com> 20120206-0.3.git06c8f81
+- use git to apply the radeon firmware
+
 * Wed Mar 21 2012 Dave Airlie <airlied at redhat.com> 20120206-0.2.git06c8f81
 - add radeon southern islands/trinity firmware
 


More information about the scm-commits mailing list