rpms/pciutils/F-9 pciutils-2.2.10-sparc-support.patch, NONE, 1.1 pciutils.spec, 1.58, 1.59

Tom Callaway (spot) fedora-extras-commits at redhat.com
Tue May 27 00:07:46 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/pciutils/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15685/F-9

Modified Files:
	pciutils.spec 
Added Files:
	pciutils-2.2.10-sparc-support.patch 
Log Message:
add sparc support

pciutils-2.2.10-sparc-support.patch:

--- NEW FILE pciutils-2.2.10-sparc-support.patch ---
diff -up pciutils-2.2.10/lib/configure.BAD pciutils-2.2.10/lib/configure
--- pciutils-2.2.10/lib/configure.BAD	2008-05-26 18:28:51.000000000 -0500
+++ pciutils-2.2.10/lib/configure	2008-05-26 18:30:13.000000000 -0500
@@ -57,6 +57,10 @@ cat >$c <<EOF
 #define PCI_ARCH_S390
 #elif defined(__alpha__)
 #define PCI_ARCH_ALPHA
+#elif defined(__sparc__) && defined (__arch64__)
+#define PCI_ARCH_SPARC64
+#elif defined(__sparc__)
+#define PCI_ARCH_SPARC
 #else
 #error Unknown Arch
 #endif


Index: pciutils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pciutils/F-9/pciutils.spec,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- pciutils.spec	20 Feb 2008 10:07:58 -0000	1.58
+++ pciutils.spec	27 May 2008 00:07:03 -0000	1.59
@@ -1,6 +1,6 @@
 Name:		pciutils
 Version:	2.2.10
-Release: 	1%{?dist}
+Release: 	2%{?dist}
 Source:		ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz
 Patch0:		pciutils-strip.patch
 Patch1: 	pciutils-2.2.4-buf.patch
@@ -10,6 +10,7 @@
 Patch7:		pciutils-2.1.99-gcc4.patch
 Patch8: 	pciutils-2.2.10-multilib.patch
 Patch9: 	pciutils-dir-d.patch
+Patch10:	pciutils-2.2.10-sparc-support.patch
 License:	GPLv2+
 URL:		http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -44,6 +45,7 @@
 %patch7 -p1 -b .glibcmacros
 %patch8 -p1 -b .multilib
 %patch9 -p1 -b .dird
+%patch10 -p1 -b .sparc
 sed -i -e 's/^SRC=.*/SRC="http:\/\/pciids.sourceforge.net\/pci.ids"/' update-pciids.sh
 
 %build
@@ -79,6 +81,9 @@
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Mon May 26 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2.2.10-2
+- add sparc support
+
 * Wed Feb 20 2008 Harald Hoyer <harald at redhat.com> 2.2.10-1
 - version 2.2.10
 




More information about the scm-commits mailing list