|
Matt Domsch |
0b19e0 |
Name: biosdevname
|
|
Matt Domsch |
c792e1 |
Version: 0.3.2
|
|
Matt Domsch |
29a813 |
Release: 1%{?dist}
|
|
Matt Domsch |
0b19e0 |
Summary: Udev helper for naming devices per BIOS names
|
|
Matt Domsch |
0b19e0 |
|
|
Matt Domsch |
0b19e0 |
Group: System Environment/Base
|
|
Matt Domsch |
0b19e0 |
License: GPLv2
|
|
Matt Domsch |
0b19e0 |
URL: http://linux.dell.com/files/%{name}
|
|
Matt Domsch |
c792e1 |
# SMBIOS only exists on these arches. It's also likely that other
|
|
Matt Domsch |
c792e1 |
# arches don't expect the PCI bus to be sorted breadth-first, or of
|
|
Matt Domsch |
c792e1 |
# so, there haven't been any comments about that on LKML.
|
|
Matt Domsch |
0b19e0 |
ExclusiveArch: %{ix86} x86_64 ia64
|
|
Matt Domsch |
c792e1 |
Source0: http://linux.dell.com/files/%{name}/permalink/%{name}-%{version}.tar.gz
|
|
Matt Domsch |
0b19e0 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
Matt Domsch |
0b19e0 |
BuildRequires: pciutils-devel, zlib-devel
|
|
Matt Domsch |
0b19e0 |
# to figure out how to name the rules file
|
|
Matt Domsch |
0b19e0 |
BuildRequires: udev
|
|
Matt Domsch |
0b19e0 |
# for ownership of /etc/udev/rules.d
|
|
Matt Domsch |
901009 |
# releases after 115-3.20070920.git have the proper write_net_rules and 75-persistent-net-names.rules files
|
|
Matt Domsch |
901009 |
Requires: udev > 115-3.20070920git
|
|
Matt Domsch |
0b19e0 |
|
|
Matt Domsch |
0b19e0 |
%description
|
|
Matt Domsch |
0b19e0 |
biosdevname in its simplest form takes a kernel device name as an
|
|
Matt Domsch |
0b19e0 |
argument, and returns the BIOS-given name it "should" be. This is necessary
|
|
Matt Domsch |
0b19e0 |
on systems where the BIOS name for a given device (e.g. the label on
|
|
Matt Domsch |
0b19e0 |
the chassis is "Gb1") doesn't map directly and obviously to the kernel
|
|
Matt Domsch |
0b19e0 |
name (e.g. eth0).
|
|
Matt Domsch |
0b19e0 |
|
|
Matt Domsch |
0b19e0 |
%prep
|
|
Matt Domsch |
0b19e0 |
%setup -q
|
|
Matt Domsch |
0b19e0 |
|
|
Matt Domsch |
0b19e0 |
%build
|
|
Matt Domsch |
0b19e0 |
# this is a udev rule, so it needs to live in / rather than /usr
|
|
Matt Domsch |
0b19e0 |
%configure --disable-rpath --prefix=/ --sbindir=/sbin
|
|
Matt Domsch |
0b19e0 |
make %{?_smp_mflags}
|
|
Matt Domsch |
0b19e0 |
|
|
Matt Domsch |
0b19e0 |
|
|
Matt Domsch |
0b19e0 |
%install
|
|
Matt Domsch |
0b19e0 |
rm -rf %{buildroot}
|
|
Matt Domsch |
29a813 |
make install install-data DESTDIR=%{buildroot}
|
|
Matt Domsch |
0b19e0 |
rm %{buildroot}/sbin/%{name}S || :
|
|
Matt Domsch |
0b19e0 |
|
|
Matt Domsch |
0b19e0 |
%clean
|
|
Matt Domsch |
0b19e0 |
rm -rf %{buildroot}
|
|
Matt Domsch |
0b19e0 |
|
|
Matt Domsch |
0b19e0 |
%files
|
|
Matt Domsch |
0b19e0 |
%defattr(-,root,root,-)
|
|
Matt Domsch |
0b19e0 |
%doc COPYING README
|
|
Matt Domsch |
0b19e0 |
/sbin/%{name}
|
|
Matt Domsch |
29a813 |
%config(noreplace) %{_sysconfdir}/udev/rules.d/*.rules
|
|
Matt Domsch |
276246 |
%{_mandir}/man1/%{name}.1*
|
|
Matt Domsch |
0b19e0 |
|
|
Matt Domsch |
0b19e0 |
|
|
Matt Domsch |
0b19e0 |
%changelog
|
|
Matt Domsch |
c792e1 |
* Thu Dec 2 2010 Matt Domsch <Matt_Domsch@dell.com> - 0.3.2-1
|
|
Matt Domsch |
c792e1 |
- fix for multi-port cards with bridges
|
|
Matt Domsch |
c792e1 |
- removal of code for seriously obsolete systems
|
|
Matt Domsch |
c792e1 |
|
|
Matt Domsch |
852c4b |
* Mon Nov 28 2010 Matt Domsch <Matt_Domsch@dell.com> 0.3.1-1
|
|
Matt Domsch |
852c4b |
- remove all policies except 'physical' and 'all_ethN'
|
|
Matt Domsch |
852c4b |
- handle SR-IOV devices properly
|
|
Matt Domsch |
852c4b |
|
|
Matt Domsch |
29a813 |
* Wed Nov 10 2010 Matt Domsch <Matt_Domsch@dell.com> 0.3.0-1
|
|
Matt Domsch |
29a813 |
- add --policy=loms, make it default
|
|
Matt Domsch |
29a813 |
- read index and labels from sysfs if available
|
|
Matt Domsch |
29a813 |
|
|
Matt Domsch |
29a813 |
* Mon Jul 27 2009 Jordan Hargrave <Jordan_Hargrave@dell.com> 0.2.5-1
|
|
Matt Domsch |
29a813 |
- fix mmap error checking
|
|
Matt Domsch |
29a813 |
|
|
Jesse Keating |
cb9c8a |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-7
|
|
Jesse Keating |
cb9c8a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
Jesse Keating |
cb9c8a |
|
|
Jesse Keating |
3717b1 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-6
|
|
Jesse Keating |
3717b1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
Jesse Keating |
3717b1 |
|
|
Matt Domsch |
3cefc0 |
* Tue May 06 2008 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-5
|
|
Matt Domsch |
3cefc0 |
- use policy=all_names to find breakage
|
|
Matt Domsch |
3cefc0 |
|
|
Matt Domsch |
a3aa74 |
* Sun Feb 10 2008 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-4
|
|
Matt Domsch |
a3aa74 |
- rebuild for gcc43
|
|
Matt Domsch |
a3aa74 |
|
|
Matt Domsch |
276246 |
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-3
|
|
Matt Domsch |
276246 |
- fix manpage entry in files
|
|
Matt Domsch |
29a813 |
|
|
Matt Domsch |
eb7126 |
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-2
|
|
Matt Domsch |
eb7126 |
- rebuild with Requires: udev > 115-3.20070920git
|
|
Matt Domsch |
eb7126 |
|
|
Matt Domsch |
0b19e0 |
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-1
|
|
Matt Domsch |
0b19e0 |
- coordinate udev rules usage with udev maintainer
|
|
Matt Domsch |
0b19e0 |
- fix crashes in pcmcia search, in_ethernet(), and incorrect command
|
|
Matt Domsch |
0b19e0 |
line parsing.
|
|
Matt Domsch |
0b19e0 |
|
|
Matt Domsch |
0b19e0 |
* Mon Aug 27 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.3-1
|
|
Matt Domsch |
0b19e0 |
- eliminate libbiosdevname.*, pre and post scripts
|
|
Matt Domsch |
0b19e0 |
|
|
Matt Domsch |
0b19e0 |
* Fri Aug 24 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.2-1
|
|
Matt Domsch |
0b19e0 |
- ExclusiveArch those arches with SMBIOS and PCI IRQ Routing tables
|
|
Matt Domsch |
0b19e0 |
- eliminate libsysfs dependency, move app to / for use before /usr is mounted.
|
|
Matt Domsch |
0b19e0 |
- build static
|
|
Matt Domsch |
0b19e0 |
|
|
Matt Domsch |
0b19e0 |
* Mon Aug 20 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.1-1
|
|
Matt Domsch |
0b19e0 |
- initial release
|