rpms/pciutils/devel pciutils-3.1.2-arm.patch, NONE, 1.1 pciutils.spec, 1.71, 1.72

Michal Hlavinka mhlavink at fedoraproject.org
Wed Apr 29 15:35:57 UTC 2009


Author: mhlavink

Update of /cvs/extras/rpms/pciutils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31912

Modified Files:
	pciutils.spec 
Added Files:
	pciutils-3.1.2-arm.patch 
Log Message:
add support for ARM


pciutils-3.1.2-arm.patch:

--- NEW FILE pciutils-3.1.2-arm.patch ---
diff -up pciutils-3.0.2/lib/configure.arm pciutils-3.0.2/lib/configure
--- pciutils-3.0.2/lib/configure.arm	2009-04-29 16:58:54.097763684 +0200
+++ pciutils-3.0.2/lib/configure	2009-04-29 17:16:50.442420669 +0200
@@ -26,7 +26,7 @@ if [ -z "$HOST" ] ; then
 		proc=`/usr/sbin/lsdev -C -c processor -S available -F name | head -1`
 		cpu=`/usr/sbin/lsattr -F value -l $proc -a type | sed 's/_.*//'`
 	else
-		cpu=`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/;s/^i86pc$/i386/'`
+		cpu=`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/;s/^i86pc$/i386/;s/^arm.*$/arm/'`
 	fi
 	if [ "$sys" = "GNU/kFreeBSD" -o "$sys" = "DragonFly" ]
 	then
@@ -73,6 +73,8 @@ cat >$c <<EOF
 #define PCI_ARCH_SPARC
 #elif defined(__sh__)
 #define PCI_ARCH_SH
+#elif defined(__arm__)
+#define PCI_ARCH_ARM
 #else
 #error Unknown Arch
 #endif


Index: pciutils.spec
===================================================================
RCS file: /cvs/extras/rpms/pciutils/devel/pciutils.spec,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -p -r1.71 -r1.72
--- pciutils.spec	27 Feb 2009 20:09:13 -0000	1.71
+++ pciutils.spec	29 Apr 2009 15:35:56 -0000	1.72
@@ -1,6 +1,6 @@
 Name:		pciutils
 Version:	3.1.2
-Release: 	4%{?dist}
+Release: 	5%{?dist}
 Source:		ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz
 Patch1: 	pciutils-2.2.4-buf.patch
 Patch2:		pciutils-2.1.10-scan.patch
@@ -10,6 +10,7 @@ Patch8: 	pciutils-3.0.2-multilib.patch
 Patch9: 	pciutils-dir-d.patch
 Patch10:	pciutils-2.2.10-sparc-support.patch
 Patch11:	pciutils-3.0.1-superh-support.patch
+Patch12:	pciutils-3.1.2-arm.patch
 License:	GPLv2+
 URL:		http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -52,6 +53,7 @@ devices connected to the PCI bus.
 %patch9 -p1 -b .dird
 %patch10 -p1 -b .sparc
 %patch11 -p1 -b .superh
+%patch12 -p1 -b .arm
 
 sed -i -e 's/^SRC=.*/SRC="http:\/\/pciids.sourceforge.net\/pci.ids"/' update-pciids.sh
 
@@ -112,6 +114,9 @@ install -p lib/libpci.pc $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Wed Apr 29 2009 Michal Hlavinka <mhlavink at redhat.com> - 3.1.2-5
+- add support for ARM
+
 * Fri Feb 27 2009 Michal Hlavinka <mhlaivnk at redhat.com> - 3.1.2-4
 - fix typo & rebuild
 




More information about the fedora-extras-commits mailing list