update to 0.3.0

This commit is contained in:
Matt Domsch 2010-11-13 22:10:03 -06:00 committed by Matt Domsch
parent 5c5da089f5
commit 29a813f415
3 changed files with 15 additions and 10 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
biosdevname-0.2.4.tar.gz
/biosdevname-0.3.0.tar.gz

View File

@ -1,6 +1,6 @@
Name: biosdevname
Version: 0.2.4
Release: 7%{?dist}
Version: 0.3.0
Release: 1%{?dist}
Summary: Udev helper for naming devices per BIOS names
Group: System Environment/Base
@ -11,7 +11,7 @@ URL: http://linux.dell.com/files/%{name}
# breadth-first, or of so, there haven't been any comments about that
# on LKML.
ExclusiveArch: %{ix86} x86_64 ia64
Source0: http://linux.dell.com/files/%{name}/permalink/%{name}-%{version}.tar.gz
Source0: http://linux.dell.com/files/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: pciutils-devel, zlib-devel
# to figure out how to name the rules file
@ -20,8 +20,6 @@ BuildRequires: udev
# releases after 115-3.20070920.git have the proper write_net_rules and 75-persistent-net-names.rules files
Requires: udev > 115-3.20070920git
Patch0: biosdevname-0.2.4-policy.patch
%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
@ -31,7 +29,6 @@ name (e.g. eth0).
%prep
%setup -q
%patch0 -p1
%build
# this is a udev rule, so it needs to live in / rather than /usr
@ -41,7 +38,7 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
make install install-data DESTDIR=%{buildroot}
rm %{buildroot}/sbin/%{name}S || :
%clean
@ -51,11 +48,18 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%doc COPYING README
/sbin/%{name}
%config(noreplace) %{_sysconfdir}/udev/rules.d/*%{name}.rules
%config(noreplace) %{_sysconfdir}/udev/rules.d/*.rules
%{_mandir}/man1/%{name}.1*
%changelog
* 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
* 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
@ -70,7 +74,7 @@ rm -rf %{buildroot}
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-3
- fix manpage entry in files
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-2
- rebuild with Requires: udev > 115-3.20070920git

View File

@ -1 +1 @@
d4368a5bc158ea3de8d8947ab9ae2285 biosdevname-0.2.4.tar.gz
31583f190cadb28799a0e36bac457093 biosdevname-0.3.0.tar.gz