~ubuntu-branches/ubuntu/saucy/biosdevname/saucy-proposed

« back to all changes in this revision

Viewing changes to biosdevname.spec.fedora.in

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-02-23 17:58:36 UTC
  • Revision ID: james.westby@ubuntu.com-20110223175836-4f0cbcno9zm0lmdu
Tags: upstream-0.3.7
ImportĀ upstreamĀ versionĀ 0.3.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Name:           biosdevname
 
2
Version:        @PACKAGE_VERSION@
 
3
Release:        1%{?dist}
 
4
Summary:        Udev helper for naming devices per BIOS names
 
5
 
 
6
Group:          System Environment/Base
 
7
License:        GPLv2
 
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
 
17
BuildRequires:  udev
 
18
# for ownership of /etc/udev/rules.d
 
19
Requires: udev
 
20
 
 
21
%description
 
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
 
26
name (e.g. eth0).
 
27
 
 
28
%prep
 
29
%setup -q
 
30
 
 
31
%build
 
32
# this is a udev rule, so it needs to live in / rather than /usr
 
33
%configure --disable-rpath --prefix=/ --sbindir=/sbin
 
34
make %{?_smp_mflags}
 
35
 
 
36
 
 
37
%install
 
38
rm -rf %{buildroot}
 
39
make install install-data DESTDIR=%{buildroot}
 
40
 
 
41
%clean
 
42
rm -rf %{buildroot}
 
43
 
 
44
%files
 
45
%defattr(-,root,root,-)
 
46
%doc COPYING README
 
47
/sbin/%{name}
 
48
# hack for either /etc or /lib rules location
 
49
/*/udev/rules.d/*.rules
 
50
%{_mandir}/man1/%{name}.1*
 
51
 
 
52
 
 
53
%changelog
 
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)
 
64
- Typo fixes
 
65
 
 
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
 
68
 
 
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
 
73
 
 
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
 
79
 
 
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
 
82
  sysfs or SMBIOS
 
83
 
 
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
 
87
 
 
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
 
91
 
 
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
 
95
 
 
96
* Mon Jul 27 2009 Jordan Hargrave <Jordan_Hargrave@dell.com> 0.2.5-1
 
97
- fix mmap error checking
 
98
 
 
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
 
101
 
 
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
 
104
 
 
105
* Tue May 06 2008 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-5
 
106
- use policy=all_names to find breakage
 
107
 
 
108
* Sun Feb 10 2008 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-4
 
109
- rebuild for gcc43
 
110
 
 
111
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-3
 
112
- fix manpage entry in files
 
113
 
 
114
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-2
 
115
- rebuild with Requires: udev > 115-3.20070920git
 
116
 
 
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
 
120
  line parsing.
 
121
 
 
122
* Mon Aug 27 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.3-1
 
123
- eliminate libbiosdevname.*, pre and post scripts
 
124
 
 
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.
 
128
- build static
 
129
 
 
130
* Mon Aug 20 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.1-1
 
131
- initial release