[packages/hwdata] use oui.txt from ieee-oui package
Jan Rękorajski
baggins at pld-linux.org
Thu Jan 17 10:18:35 CET 2013
On Tue, 15 Jan 2013, Elan Ruusamäe wrote:
> On 15.01.2013 16:40, glen wrote:
> > commit 0fdf1ddca9bfbcd1aa251e470e09d461faebce99
> > Author: Elan Ruusamäe <glen at delfi.ee>
> > Date: Tue Jan 15 16:40:03 2013 +0200
> >
> > use oui.txt from ieee-oui package
> >
> > hwdata.spec | 12 +++++++-----
> > 1 file changed, 7 insertions(+), 5 deletions(-)
> > ---
> > diff --git a/hwdata.spec b/hwdata.spec
> > index 2d5d8d9..68a70a6 100644
> > --- a/hwdata.spec
> > +++ b/hwdata.spec
> > @@ -7,14 +7,15 @@ Summary(pl.UTF-8): Dane do identyfikacji i konfiguracji sprzętu
> > Name: hwdata
> > # see hwdata.spec inside of tarball
> > Version: 0.241
> > -Release: 0.1
> > +Release: 1
> > License: GPL v2+
> > Group: Applications/System
> > Source0: https://fedorahosted.org/releases/h/w/hwdata/%{name}-%{version}.tar.bz2
> > # Source0-md5: 32dd541d778cfe0dd6100f88433bbc90
> > +Requires: ieee-oui
> > Requires: pciutils
> > -Requires: usbutils
> > Requires: pnputils
> > +Requires: usbutils
>
> > +ln -sf %{_sysconfdir}/pci.ids $RPM_BUILD_ROOT%{_datadir}/hwdata/pci.ids
> > +ln -sf %{_sysconfdir}/usb.ids $RPM_BUILD_ROOT%{_datadir}/hwdata/usb.ids
> > +ln -sf %{_datadir}/misc/pnp.ids $RPM_BUILD_ROOT%{_datadir}/hwdata/pnp.ids
> > +ln -sf %{_datadir}/oui.txt $RPM_BUILD_ROOT%{_datadir}/hwdata/oui.txt
> >
> should we use different direction here? i.e hwdata containing datafiles,
> and various *utils packages depend on data provided by hwdata project?
>
> as the various ids update more regularily than code releases of *utils
> packages
If hwdata is updated regularily then IMO it'll be better to use it and
make *utils packages depend on it (udev should be an exception as it is
the main source of .hwdb).
--
Jan Rękorajski | PLD/Linux
SysAdm | http://www.pld-linux.org/
baggins<at>mimuw.edu.pl
baggins<at>pld-linux.org
More information about the pld-devel-en
mailing list