From 29a813f415519744213c0ef5e26152a34a0644e3 Mon Sep 17 00:00:00 2001 From: Matt Domsch Date: Sat, 13 Nov 2010 22:10:03 -0600 Subject: [PATCH] update to 0.3.0 --- .gitignore | 1 + biosdevname.spec | 22 +++++++++++++--------- sources | 2 +- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 2643ff4..3632198 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ biosdevname-0.2.4.tar.gz +/biosdevname-0.3.0.tar.gz diff --git a/biosdevname.spec b/biosdevname.spec index 6a18ad2..031a914 100644 --- a/biosdevname.spec +++ b/biosdevname.spec @@ -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 0.3.0-1 +- add --policy=loms, make it default +- read index and labels from sysfs if available + +* Mon Jul 27 2009 Jordan Hargrave 0.2.5-1 +- fix mmap error checking + * Fri Jul 24 2009 Fedora Release Engineering - 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 0.2.4-3 - fix manpage entry in files - + * Fri Sep 21 2007 Matt Domsch 0.2.4-2 - rebuild with Requires: udev > 115-3.20070920git diff --git a/sources b/sources index 17c9798..840f681 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d4368a5bc158ea3de8d8947ab9ae2285 biosdevname-0.2.4.tar.gz +31583f190cadb28799a0e36bac457093 biosdevname-0.3.0.tar.gz