commit eb4ebcd728e66bfeaf7e84c43bc191d69ce50b58
Author: Elan Ruusamäe <[email protected]>
Date:   Wed Jan 23 21:50:38 2013 +0200

    use /lib/hwdata for early boot access
    
    
http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2013-January/023401.html
    see 
https://github.com/pld-linux/pciutils/commit/5d206b802d827811d3ca63318235043814aae8f0
    also 
https://github.com/pld-linux/usbutils/commit/aac6f346272d0f54f946ed723d813ec9ee720967

 hwdata.patch  | 2 +-
 pciutils.spec | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/pciutils.spec b/pciutils.spec
index c2fc448..7b805a9 100644
--- a/pciutils.spec
+++ b/pciutils.spec
@@ -17,7 +17,7 @@ Summary(uk.UTF-8):    Утиліти роботи з PCI пристроями
 Summary(zh_CN.UTF-8):  PCI 总线相关的工具。
 Name:          pciutils
 Version:       3.1.10
-Release:       5
+Release:       6
 License:       GPL v2+
 Group:         Applications/System
 Source0:       
ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz
@@ -30,15 +30,15 @@ Patch2:             %{name}-nowhich.patch
 Patch3:                %{name}-pci_init-error.patch
 Patch4:                hwdata.patch
 URL:           http://mj.ucw.cz/pciutils.html
-BuildRequires: hwdata >= 0.243
+BuildRequires: hwdata >= 0.243-2
 BuildRequires: zlib-devel
-Requires:      hwdata >= 0.243
+Requires:      hwdata >= 0.243-2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _exec_prefix    /
 %define                _libdir         %{_prefix}/%{_lib}
 %define                _sbindir        /sbin
-%define                hwdatadir       /usr/share/hwdata
+%define                hwdatadir       /lib/hwdata
 
 %define                specflags       -fomit-frame-pointer
 
diff --git a/hwdata.patch b/hwdata.patch
index e4ee34a..87aba91 100644
--- a/hwdata.patch
+++ b/hwdata.patch
@@ -5,7 +5,7 @@
  SBINDIR=$(PREFIX)/sbin
  SHAREDIR=$(PREFIX)/share
 -IDSDIR=$(SHAREDIR)
-+IDSDIR=$(SHAREDIR)/hwdata
++IDSDIR=/lib/hwdata
  MANDIR:=$(shell if [ -d $(PREFIX)/share/man ] ; then echo $(PREFIX)/share/man 
; else echo $(PREFIX)/man ; fi)
  INCDIR=$(PREFIX)/include
  LIBDIR=$(PREFIX)/lib
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pciutils.git/commitdiff/eb4ebcd728e66bfeaf7e84c43bc191d69ce50b58

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to