2007-09-21 16:59:03 +00:00
|
|
|
Name: biosdevname
|
2011-01-25 20:54:02 +00:00
|
|
|
Version: 0.3.6
|
2011-02-08 05:00:11 +00:00
|
|
|
Release: 2%{?dist}
|
2007-09-21 16:59:03 +00:00
|
|
|
Summary: Udev helper for naming devices per BIOS names
|
|
|
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
License: GPLv2
|
|
|
|
URL: http://linux.dell.com/files/%{name}
|
2010-12-03 04:12:27 +00:00
|
|
|
# SMBIOS only exists on these arches. It's also likely that other
|
|
|
|
# arches don't expect the PCI bus to be sorted breadth-first, or of
|
|
|
|
# so, there haven't been any comments about that on LKML.
|
2007-09-21 16:59:03 +00:00
|
|
|
ExclusiveArch: %{ix86} x86_64 ia64
|
2010-12-03 04:12:27 +00:00
|
|
|
Source0: http://linux.dell.com/files/%{name}/permalink/%{name}-%{version}.tar.gz
|
2007-09-21 16:59:03 +00:00
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
BuildRequires: pciutils-devel, zlib-devel
|
|
|
|
# to figure out how to name the rules file
|
|
|
|
BuildRequires: udev
|
|
|
|
# for ownership of /etc/udev/rules.d
|
2010-12-17 04:51:26 +00:00
|
|
|
Requires: udev
|
2007-09-21 16:59:03 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
biosdevname in its simplest form takes a kernel device name as an
|
|
|
|
argument, and returns the BIOS-given name it "should" be. This is necessary
|
|
|
|
on systems where the BIOS name for a given device (e.g. the label on
|
|
|
|
the chassis is "Gb1") doesn't map directly and obviously to the kernel
|
|
|
|
name (e.g. eth0).
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
# this is a udev rule, so it needs to live in / rather than /usr
|
|
|
|
%configure --disable-rpath --prefix=/ --sbindir=/sbin
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
2010-11-14 04:10:03 +00:00
|
|
|
make install install-data DESTDIR=%{buildroot}
|
2007-09-21 16:59:03 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING README
|
|
|
|
/sbin/%{name}
|
2011-01-25 20:30:34 +00:00
|
|
|
%{_sbindir}/dump_pirq
|
|
|
|
# hack for either /etc or /lib rules location
|
|
|
|
/*/udev/rules.d/*.rules
|
2007-09-21 18:31:37 +00:00
|
|
|
%{_mandir}/man1/%{name}.1*
|
2007-09-21 16:59:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2011-02-08 05:00:11 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-25 20:54:02 +00:00
|
|
|
* Tue Jan 25 2011 Matt Domsch <Matt_Domsch@dell.com> - 0.3.6-1
|
|
|
|
- drop biosdevnameS, it's unused and fails to build on F15
|
|
|
|
|
2011-01-25 20:30:34 +00:00
|
|
|
* Tue Jan 25 2011 Matt Domsch <Matt_Domsch@dell.com> - 0.3.5-1
|
|
|
|
- install dump_pirq into /usr/sbin
|
|
|
|
- fix udev rule, skip running if NAME is already set
|
|
|
|
- move udev rule to /lib/udev/rules.d by default
|
|
|
|
|
2010-12-17 04:51:26 +00:00
|
|
|
* Thu Dec 16 2010 Matt Domsch <mdomsch@fedoraproject.org> - 0.3.4-1
|
|
|
|
- drop unnecessary explicit version requirement on udev
|
|
|
|
- bugfix: start indices at 1 not 0, to match Dell and HP server port designations
|
|
|
|
- bugfix: don't assign names to unknown devices
|
|
|
|
- bugfix: don't assign duplicate names
|
|
|
|
|
2010-12-09 21:38:16 +00:00
|
|
|
* Thu Dec 9 2010 Matt Domsch <Matt_Domsch@dell.com> - 0.3.3-1
|
|
|
|
- add back in use of PCI IRQ Routing Table, if info is not provided by
|
|
|
|
sysfs or SMBIOS
|
|
|
|
|
2010-12-03 04:12:27 +00:00
|
|
|
* Thu Dec 2 2010 Matt Domsch <Matt_Domsch@dell.com> - 0.3.2-1
|
|
|
|
- fix for multi-port cards with bridges
|
|
|
|
- removal of code for seriously obsolete systems
|
|
|
|
|
2010-11-29 04:24:18 +00:00
|
|
|
* Mon Nov 28 2010 Matt Domsch <Matt_Domsch@dell.com> 0.3.1-1
|
|
|
|
- remove all policies except 'physical' and 'all_ethN'
|
|
|
|
- handle SR-IOV devices properly
|
|
|
|
|
2010-11-14 04:10:03 +00:00
|
|
|
* Wed Nov 10 2010 Matt Domsch <Matt_Domsch@dell.com> 0.3.0-1
|
|
|
|
- add --policy=loms, make it default
|
|
|
|
- read index and labels from sysfs if available
|
|
|
|
|
|
|
|
* Mon Jul 27 2009 Jordan Hargrave <Jordan_Hargrave@dell.com> 0.2.5-1
|
|
|
|
- fix mmap error checking
|
|
|
|
|
2009-07-24 18:04:58 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-24 04:46:28 +00:00
|
|
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-05-06 20:19:20 +00:00
|
|
|
* Tue May 06 2008 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-5
|
|
|
|
- use policy=all_names to find breakage
|
|
|
|
|
2008-02-10 14:07:38 +00:00
|
|
|
* Sun Feb 10 2008 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-4
|
|
|
|
- rebuild for gcc43
|
|
|
|
|
2007-09-21 18:31:37 +00:00
|
|
|
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-3
|
|
|
|
- fix manpage entry in files
|
2010-11-14 04:10:03 +00:00
|
|
|
|
2007-09-21 17:04:47 +00:00
|
|
|
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-2
|
|
|
|
- rebuild with Requires: udev > 115-3.20070920git
|
|
|
|
|
2007-09-21 16:59:03 +00:00
|
|
|
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-1
|
|
|
|
- coordinate udev rules usage with udev maintainer
|
|
|
|
- fix crashes in pcmcia search, in_ethernet(), and incorrect command
|
|
|
|
line parsing.
|
|
|
|
|
|
|
|
* Mon Aug 27 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.3-1
|
|
|
|
- eliminate libbiosdevname.*, pre and post scripts
|
|
|
|
|
|
|
|
* Fri Aug 24 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.2-1
|
|
|
|
- ExclusiveArch those arches with SMBIOS and PCI IRQ Routing tables
|
|
|
|
- eliminate libsysfs dependency, move app to / for use before /usr is mounted.
|
|
|
|
- build static
|
|
|
|
|
|
|
|
* Mon Aug 20 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.1-1
|
|
|
|
- initial release
|