tag 635302 patch
user [email protected]
usertags 635302 origin-ubuntu ubuntu-patch precise
thanks

Hello,

this patch symlinks the duplicated pci.ids and usb.ids to their (more
current) counterparts in usbutils and pciutils. This provides the
current versions and reduces the package size.

Thanks for considering,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -u hwdata-0.233/debian/changelog hwdata-0.233/debian/changelog
--- hwdata-0.233/debian/changelog
+++ hwdata-0.233/debian/changelog
@@ -1,3 +1,12 @@
+hwdata (0.233-1ubuntu1) precise; urgency=low
+
+  * debian/rules: Don't install usb.ids and pci.ids, instead symlink to the
+    corresponding files in usbutils and pciutils (which are newer anyway).
+    (LP: #77929, Debian #635302)
+  * debian/control: Add pciutils and usbutils dependencies.
+
+ -- Martin Pitt <[email protected]>  Thu, 12 Apr 2012 15:46:21 +0200
+
 hwdata (0.233-1) unstable; urgency=low
 
   * new upstream version
diff -u hwdata-0.233/debian/rules hwdata-0.233/debian/rules
--- hwdata-0.233/debian/rules
+++ hwdata-0.233/debian/rules
@@ -41,13 +41,13 @@
 
 # Build architecture-independent files here.
 binary-indep: build install
-       cp $(CURDIR)/MonitorsDB $(CURDIR)/pci* $(CURDIR)/pnp.ids 
$(CURDIR)/upgradelist $(CURDIR)/usb.ids $(CURDIR)/video* 
$(CURDIR)/debian/hwdata/usr/share/hwdata/
+       cp $(CURDIR)/MonitorsDB $(CURDIR)/pnp.ids $(CURDIR)/upgradelist 
$(CURDIR)/video* $(CURDIR)/debian/hwdata/usr/share/hwdata/
 
        dh_testdir
        dh_testroot
        dh_installdocs
        dh_installchangelogs
-       dh_link
+       dh_link /usr/share/misc/pci.ids /usr/share/hwdata/pci.ids 
/usr/share/misc/usb.ids /usr/share/hwdata/usb.ids
        dh_strip
        dh_compress
        dh_fixperms
diff -u hwdata-0.233/debian/control hwdata-0.233/debian/control
--- hwdata-0.233/debian/control
+++ hwdata-0.233/debian/control
@@ -1,14 +1,15 @@
 Source: hwdata
 Section: misc
 Priority: optional
-Maintainer: Noël Köthe <[email protected]>
+Maintainer: Ubuntu Developers <[email protected]>
+XSBC-Original-Maintainer: Noël Köthe <[email protected]>
 Build-Depends: debhelper (>> 5.0.0)
 Standards-Version: 3.9.2
 Homepage: http://git.fedorahosted.org/git/hwdata.git
 
 Package: hwdata
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, usbutils, pciutils
 Description: hardware identification / configuration data
  This package contains various hardware identification and configuration data,
  such as the pci.ids database, or the XFree86/xorg Cards database.

Attachment: signature.asc
Description: Digital signature

Reply via email to