2
Version: @PACKAGE_VERSION@
4
Summary: Udev helper for naming devices per BIOS names
6
Group: System Environment/Base
8
URL: http://linux.dell.com/files/%{name}
9
# SMBIOS only exists on these arches. It's also likely that other
10
# arches don't expect the PCI bus to be sorted breadth-first, or of
11
# so, there haven't been any comments about that on LKML.
12
ExclusiveArch: %{ix86} x86_64 ia64
13
Source0: http://linux.dell.com/files/%{name}/permalink/%{name}-%{version}.tar.gz
14
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
15
BuildRequires: pciutils-devel, zlib-devel
16
# to figure out how to name the rules file
18
# for ownership of /etc/udev/rules.d
22
biosdevname in its simplest form takes a kernel device name as an
23
argument, and returns the BIOS-given name it "should" be. This is necessary
24
on systems where the BIOS name for a given device (e.g. the label on
25
the chassis is "Gb1") doesn't map directly and obviously to the kernel
32
# this is a udev rule, so it needs to live in / rather than /usr
33
%configure --disable-rpath --prefix=/ --sbindir=/sbin
39
make install install-data DESTDIR=%{buildroot}
45
%defattr(-,root,root,-)
48
# hack for either /etc or /lib rules location
49
/*/udev/rules.d/*.rules
50
%{_mandir}/man1/%{name}.1*
54
* Thu Feb 17 2011 Matt Domsch <Matt_Domsch@dell.com> - 0.3.7-1
55
- drop dump_pirq, suggest use biosdecode instead
56
- don't use '#' in names, use 'p' instead, by popular demand
57
- properly look for SMBIOS, then $PIR, then recurse
58
- Add kernel command line parameter "biosdevname={0|1}" to turn off/on biosdevname
59
- Fix segfault when BIOS advertises zero sized PIRQ Routing Table
60
- Add 'bonding' and 'openvswitch' to the virtual devices list
61
- fail PIRQ lookups if device domain is not 0
62
- Don't suggest names if running in a virtual machine (Xen, KVM,
63
VMware tested, but should work on others)
66
* Tue Jan 25 2011 Matt Domsch <Matt_Domsch@dell.com> - 0.3.6-1
67
- drop biosdevnameS, it's unused and fails to build on F15
69
* Tue Jan 25 2011 Matt Domsch <Matt_Domsch@dell.com> - 0.3.5-1
70
- install dump_pirq into /usr/sbin
71
- fix udev rule, skip running if NAME is already set
72
- move udev rule to /lib/udev/rules.d by default
74
* Thu Dec 16 2010 Matt Domsch <mdomsch@fedoraproject.org> - 0.3.4-1
75
- drop unnecessary explicit version requirement on udev
76
- bugfix: start indices at 1 not 0, to match Dell and HP server port designations
77
- bugfix: don't assign names to unknown devices
78
- bugfix: don't assign duplicate names
80
* Thu Dec 9 2010 Matt Domsch <Matt_Domsch@dell.com> - 0.3.3-1
81
- add back in use of PCI IRQ Routing Table, if info is not provided by
84
* Thu Dec 2 2010 Matt Domsch <Matt_Domsch@dell.com> - 0.3.2-1
85
- fix for multi-port cards with bridges
86
- removal of code for seriously obsolete systems
88
* Mon Nov 28 2010 Matt Domsch <Matt_Domsch@dell.com> 0.3.1-1
89
- remove all policies except 'physical' and 'all_ethN'
90
- handle SR-IOV devices properly
92
* Wed Nov 10 2010 Matt Domsch <Matt_Domsch@dell.com> 0.3.0-1
93
- add --policy=loms, make it default
94
- read index and labels from sysfs if available
96
* Mon Jul 27 2009 Jordan Hargrave <Jordan_Hargrave@dell.com> 0.2.5-1
97
- fix mmap error checking
99
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-7
100
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
102
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-6
103
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
105
* Tue May 06 2008 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-5
106
- use policy=all_names to find breakage
108
* Sun Feb 10 2008 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-4
111
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-3
112
- fix manpage entry in files
114
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-2
115
- rebuild with Requires: udev > 115-3.20070920git
117
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-1
118
- coordinate udev rules usage with udev maintainer
119
- fix crashes in pcmcia search, in_ethernet(), and incorrect command
122
* Mon Aug 27 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.3-1
123
- eliminate libbiosdevname.*, pre and post scripts
125
* Fri Aug 24 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.2-1
126
- ExclusiveArch those arches with SMBIOS and PCI IRQ Routing tables
127
- eliminate libsysfs dependency, move app to / for use before /usr is mounted.
130
* Mon Aug 20 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.1-1