[packages/hwdata] disable .gz; lshw needs support

glen glen at pld-linux.org
Wed Jan 23 23:07:02 CET 2013


commit b31a4824a4c199edbc2ba62b24434da9be2008d4
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jan 24 00:06:45 2013 +0200

    disable .gz; lshw needs support

 hwdata.spec | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/hwdata.spec b/hwdata.spec
index d74440e..df7beef 100644
--- a/hwdata.spec
+++ b/hwdata.spec
@@ -2,12 +2,13 @@
 # - make this primary db of oui/pnp/blacklist db (merge ieee-oui, pnputils, kmod/module-init-tools) ?
 # - merge (switch?) with http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/hwids ?
 #   their db contains also OUI, IAB IDs databases: https://github.com/gentoo/hwids
+# - enable .gz if lshw has .gz support
 Summary:	Hardware identification and configuration data
 Summary(pl.UTF-8):	Dane do identyfikacji i konfiguracji sprzętu
 Name:		hwdata
 # see hwdata.spec inside of tarball
 Version:	0.243
-Release:	4
+Release:	5
 License:	GPL v2+
 Group:		Applications/System
 Source0:	https://fedorahosted.org/releases/h/w/hwdata/%{name}-%{version}.tar.bz2
@@ -45,7 +46,10 @@ ln -sf /usr/share/misc/pnp.ids $RPM_BUILD_ROOT%{_datadir}/%{name}/pnp.ids
 ln -sf /usr/share/oui.txt $RPM_BUILD_ROOT%{_datadir}/%{name}/oui.txt
 %{__rm} $RPM_BUILD_ROOT/etc/modprobe.d/blacklist.conf
 
+%if 0
 gzip -n9 $RPM_BUILD_ROOT%{_datadir}/%{name}/pci.ids
+gzip -n9 $RPM_BUILD_ROOT%{_datadir}/%{name}/usb.ids
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -55,6 +59,6 @@ rm -rf $RPM_BUILD_ROOT
 %doc ChangeLog LICENSE
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/oui.txt
-%{_datadir}/%{name}/pci.ids.gz
+%{_datadir}/%{name}/pci.ids*
 %{_datadir}/%{name}/pnp.ids
-%{_datadir}/%{name}/usb.ids
+%{_datadir}/%{name}/usb.ids*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hwdata.git/commitdiff/b31a4824a4c199edbc2ba62b24434da9be2008d4



More information about the pld-cvs-commit mailing list