diff --git a/pciutils-2.1.10-scan.patch b/pciutils-2.1.10-scan.patch index 590c21d..df01130 100644 --- a/pciutils-2.1.10-scan.patch +++ b/pciutils-2.1.10-scan.patch @@ -1,6 +1,7 @@ ---- pciutils-2.1.10/lib/access.c.foo Wed Feb 12 15:44:05 2003 -+++ pciutils-2.1.10/lib/access.c Wed Feb 12 15:44:33 2003 -@@ -180,7 +180,8 @@ +diff -up pciutils-3.0.0/lib/access.c.scan pciutils-3.0.0/lib/access.c +--- pciutils-3.0.0/lib/access.c.scan 2008-04-10 21:15:47.000000000 +0200 ++++ pciutils-3.0.0/lib/access.c 2008-09-01 15:15:27.000000000 +0200 +@@ -16,7 +16,8 @@ void pci_scan_bus(struct pci_access *a) { diff --git a/pciutils-2.1.99-gcc4.patch b/pciutils-2.1.99-gcc4.patch index 43257d5..5d7d4ca 100644 --- a/pciutils-2.1.99-gcc4.patch +++ b/pciutils-2.1.99-gcc4.patch @@ -1,9 +1,7 @@ -Patch by Robert Scheck for pciutils >= 2.1.99, which make pciutils -rebuildable using gcc 4. - ---- pciutils-2.1.99-test8/lib/i386-ports.c 2004-08-13 22:13:11.000000000 +0200 -+++ pciutils-2.1.99-test8/lib/i386-ports.c.gcc4 2005-03-14 09:30:06.000000000 +0100 -@@ -57,9 +57,9 @@ +diff -up pciutils-3.0.0/lib/i386-ports.c.glibcmacros pciutils-3.0.0/lib/i386-ports.c +--- pciutils-3.0.0/lib/i386-ports.c.glibcmacros 2008-04-10 21:15:47.000000000 +0200 ++++ pciutils-3.0.0/lib/i386-ports.c 2008-09-01 15:16:42.000000000 +0200 +@@ -70,9 +70,9 @@ intel_sanity_check(struct pci_access *a, for(d.dev = 0; d.dev < 32; d.dev++) { u16 class, vendor; diff --git a/pciutils-2.2.1-idpath.patch b/pciutils-2.2.1-idpath.patch index 62b57f0..edb58d7 100644 --- a/pciutils-2.2.1-idpath.patch +++ b/pciutils-2.2.1-idpath.patch @@ -1,11 +1,12 @@ ---- pciutils-2.2.1/Makefile.idpath 2006-02-23 12:24:12.000000000 +0100 -+++ pciutils-2.2.1/Makefile 2006-02-23 12:24:18.000000000 +0100 -@@ -10,7 +10,7 @@ +diff -up pciutils-3.0.0/Makefile.idpath pciutils-3.0.0/Makefile +--- pciutils-3.0.0/Makefile.idpath 2008-04-10 21:19:43.000000000 +0200 ++++ pciutils-3.0.0/Makefile 2008-09-01 15:16:19.000000000 +0200 +@@ -27,7 +27,7 @@ ABI_VERSION=.3 PREFIX=/usr/local SBINDIR=$(PREFIX)/sbin SHAREDIR=$(PREFIX)/share -IDSDIR=$(SHAREDIR) +IDSDIR=$(SHAREDIR)/hwdata MANDIR:=$(shell if [ -d $(PREFIX)/share/man ] ; then echo $(PREFIX)/share/man ; else echo $(PREFIX)/man ; fi) - INSTALL=install - DIRINSTALL=install -d + INCDIR=$(PREFIX)/include + LIBDIR=$(PREFIX)/lib diff --git a/pciutils-2.2.10-sparc-support.patch b/pciutils-2.2.10-sparc-support.patch index a44d8b5..3e36dab 100644 --- a/pciutils-2.2.10-sparc-support.patch +++ b/pciutils-2.2.10-sparc-support.patch @@ -1,7 +1,7 @@ -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 <= size) + if (res < 0 || res >= size) { diff --git a/pciutils-3.0.0-multilib.patch b/pciutils-3.0.0-multilib.patch index 2c0c9d3..fd5af0b 100644 --- a/pciutils-3.0.0-multilib.patch +++ b/pciutils-3.0.0-multilib.patch @@ -1,6 +1,6 @@ diff -up pciutils-3.0.0/lib/configure.multilib pciutils-3.0.0/lib/configure --- pciutils-3.0.0/lib/configure.multilib 2008-04-10 21:15:47.000000000 +0200 -+++ pciutils-3.0.0/lib/configure 2008-06-02 06:46:35.000000000 +0200 ++++ pciutils-3.0.0/lib/configure 2008-09-01 15:17:03.000000000 +0200 @@ -41,28 +41,61 @@ sys=`echo $host | sed 's/^\([^-]*\)-\([^ echo " $host $rel" diff --git a/pciutils-dir-d.patch b/pciutils-dir-d.patch index 614b128..f1b0e2a 100644 --- a/pciutils-dir-d.patch +++ b/pciutils-dir-d.patch @@ -1,6 +1,6 @@ diff -up pciutils-3.0.0/lib/names-parse.c.dird pciutils-3.0.0/lib/names-parse.c --- pciutils-3.0.0/lib/names-parse.c.dird 2008-04-10 21:15:47.000000000 +0200 -+++ pciutils-3.0.0/lib/names-parse.c 2008-06-02 07:39:59.000000000 +0200 ++++ pciutils-3.0.0/lib/names-parse.c 2008-09-01 15:17:23.000000000 +0200 @@ -6,10 +6,13 @@ * Can be freely distributed and used under the terms of the GNU GPL. */ @@ -101,7 +101,7 @@ diff -up pciutils-3.0.0/lib/names-parse.c.dird pciutils-3.0.0/lib/names-parse.c +} diff -up pciutils-3.0.0/lib/pci.h.dird pciutils-3.0.0/lib/pci.h --- pciutils-3.0.0/lib/pci.h.dird 2008-04-10 21:23:05.000000000 +0200 -+++ pciutils-3.0.0/lib/pci.h 2008-06-02 07:39:41.000000000 +0200 ++++ pciutils-3.0.0/lib/pci.h 2008-09-01 15:17:23.000000000 +0200 @@ -194,6 +194,7 @@ int pci_load_name_list(struct pci_access void pci_free_name_list(struct pci_access *a) PCI_ABI; /* Called automatically by pci_cleanup() */ void pci_set_name_list_path(struct pci_access *a, char *name, int to_be_freed) PCI_ABI; diff --git a/pciutils-havepread.patch b/pciutils-havepread.patch index 56fbff3..52f4a92 100644 --- a/pciutils-havepread.patch +++ b/pciutils-havepread.patch @@ -1,5 +1,6 @@ ---- pciutils-2.1.99-test8/lib/pread.h.pread 2004-08-13 16:15:46.000000000 -0400 -+++ pciutils-2.1.99-test8/lib/pread.h 2004-08-31 00:30:03.168157294 -0400 +diff -up pciutils-3.0.0/lib/pread.h.pread pciutils-3.0.0/lib/pread.h +--- pciutils-3.0.0/lib/pread.h.pread 2006-05-05 14:18:24.000000000 +0200 ++++ pciutils-3.0.0/lib/pread.h 2008-09-01 15:15:53.000000000 +0200 @@ -12,54 +12,6 @@ * don't define it. */ diff --git a/pciutils.spec b/pciutils.spec index 52f42f3..36de5f1 100644 --- a/pciutils.spec +++ b/pciutils.spec @@ -1,6 +1,6 @@ Name: pciutils Version: 3.0.0 -Release: 1%{?dist} +Release: 2%{?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 @@ -105,6 +105,9 @@ install -p lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig rm -rf $RPM_BUILD_ROOT %changelog +* Mon Sep 01 2008 Harald Hoyer 3.0.0-2 +- rebuild to eliminate fuzz patches + * Mon Jun 02 2008 Harald Hoyer 3.0.0-1 - version 3.0.0