rpms/pciutils/devel pciutils-2.2.1-idpath.patch, NONE, 1.1 pciutils-update-pciids.patch, NONE, 1.1

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Feb 23 11:40:53 UTC 2006


Author: harald

Update of /cvs/dist/rpms/pciutils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv14985

Added Files:
	pciutils-2.2.1-idpath.patch pciutils-update-pciids.patch 
Log Message:
- added update-pciids shell script and manpage (bz #178582)

pciutils-2.2.1-idpath.patch:
 Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE pciutils-2.2.1-idpath.patch ---
--- 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 @@
 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

pciutils-update-pciids.patch:
 Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE pciutils-update-pciids.patch ---
--- pciutils-2.1.99-test8/Makefile.update-pciids	2006-02-23 12:07:05.000000000 +0100
+++ pciutils-2.1.99-test8/Makefile	2006-02-23 12:07:34.000000000 +0100
@@ -50,7 +50,7 @@
 common.o: common.c pciutils.h $(PCIINC)
 
 update-pciids: update-pciids.sh
-	sed <$< >$@ "s@^DEST=.*@DEST=$(SHAREDIR)/pci.ids@"
+	sed <$< >$@ "s@^DEST=.*@DEST=$(SHAREDIR)/hwdata/pci.ids@"
 
 %.8: %.man
 	M=`echo $(DATE) | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <$< >$@ "s/@TODAY@/$$M/;s/@VERSION@/pciutils-$(VERSION)/;s#@SHAREDIR@#$(SHAREDIR)#"




More information about the fedora-cvs-commits mailing list