From 692626e60f1272201c2de1074be79789a33d0afc Mon Sep 17 00:00:00 2001 From: praveenp Date: Tue, 4 Oct 2011 08:51:37 -0500 Subject: [PATCH 1/5] Updated the sources to 0.3.11 version --- .gitignore | 1 + biosdevname.spec | 18 +++++++++++++++++- sources | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3dd5e35..b0be937 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /biosdevname-0.3.6.tar.gz /biosdevname-0.3.7.tar.gz /biosdevname-0.3.8.tar.gz +/biosdevname-0.3.11.tar.gz diff --git a/biosdevname.spec b/biosdevname.spec index d35b12e..3da7b49 100644 --- a/biosdevname.spec +++ b/biosdevname.spec @@ -1,5 +1,5 @@ Name: biosdevname -Version: 0.3.8 +Version: 0.3.11 Release: 1%{?dist} Summary: Udev helper for naming devices per BIOS names @@ -51,6 +51,22 @@ rm -rf %{buildroot} %changelog +* Tue Oct 4 2011 Praveen K Paladugu - 0.3.11-1 +- Fix man page for PCI slot naming +- Fix clearing of buffer for NPAR/SRIOV naming +- Add --nopirq and --smbios options to manpage. +- Verify length of VPD on network device +- Close file handle on sysfs read +- Fix naming policy for NPAR devices. + Match each PCI device to its VPD 'physical' device to get correct index +- Exclude building on ia64 arch +- Add support functions for determining PCIE slot +- Scan full path to parent when getting PCIE slot +- Fix NPAR naming for add-in cards +- Don't display _vf suffix on NPAR devices with single function +- Fix PCIe/PIRQ slot mapping + + * Thu Apr 21 2011 Praveen K Paladugu - 0.3.8-1 - Add changes to parse VPD structure for device mapping on NPAR devices - Fix pathname diff --git a/sources b/sources index 94d7e30..48986b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -93c7bc3859033534ace6c2556b5b6bba biosdevname-0.3.8.tar.gz +0b0337d4e1f48f1f8ee4b9a36299ca59 biosdevname-0.3.11.tar.gz From 8c0bff29adc231efedc843e98430befca02e1a91 Mon Sep 17 00:00:00 2001 From: praveenp Date: Tue, 4 Oct 2011 09:02:50 -0500 Subject: [PATCH 2/5] updated the dir structure inside the archive --- biosdevname.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/biosdevname.spec b/biosdevname.spec index 3da7b49..0752082 100644 --- a/biosdevname.spec +++ b/biosdevname.spec @@ -1,6 +1,6 @@ Name: biosdevname Version: 0.3.11 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Udev helper for naming devices per BIOS names Group: System Environment/Base @@ -51,6 +51,9 @@ rm -rf %{buildroot} %changelog +* Tue Oct 4 2011 Praveen K Paladugu - 0.3.11-2 +- Fixed the dir structure inside the archive + * Tue Oct 4 2011 Praveen K Paladugu - 0.3.11-1 - Fix man page for PCI slot naming - Fix clearing of buffer for NPAR/SRIOV naming diff --git a/sources b/sources index 48986b0..a693926 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0b0337d4e1f48f1f8ee4b9a36299ca59 biosdevname-0.3.11.tar.gz +7f805b261b7b03744f1d3b91d830328e biosdevname-0.3.11.tar.gz From 876c1554b12d02153f7b31e7da68b172228fd40e Mon Sep 17 00:00:00 2001 From: praveenp Date: Tue, 4 Oct 2011 09:21:33 -0500 Subject: [PATCH 3/5] Generate the configure script if it doesn't exist --- biosdevname.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/biosdevname.spec b/biosdevname.spec index 0752082..a52c0b3 100644 --- a/biosdevname.spec +++ b/biosdevname.spec @@ -1,6 +1,6 @@ Name: biosdevname Version: 0.3.11 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Udev helper for naming devices per BIOS names Group: System Environment/Base @@ -29,6 +29,9 @@ name (e.g. eth0). %setup -q %build +#If configure script doesn't exist generate it with autogen script +[ -e ./configure ] || ./autogen.sh + # this is a udev rule, so it needs to live in / rather than /usr %configure --disable-rpath --prefix=/ --sbindir=/sbin make %{?_smp_mflags} @@ -51,6 +54,9 @@ rm -rf %{buildroot} %changelog +* Tue Oct 4 2011 Praveen K Paladugu - 0.3.11-3 +- Generating the configure script if it doesn't exist + * Tue Oct 4 2011 Praveen K Paladugu - 0.3.11-2 - Fixed the dir structure inside the archive From 8da72ff77354ab63ed2480081e1866653c2a6d0f Mon Sep 17 00:00:00 2001 From: praveenp Date: Tue, 4 Oct 2011 09:35:36 -0500 Subject: [PATCH 4/5] Adding autoconf to buildrequires. --- biosdevname.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/biosdevname.spec b/biosdevname.spec index a52c0b3..251e789 100644 --- a/biosdevname.spec +++ b/biosdevname.spec @@ -1,6 +1,6 @@ Name: biosdevname Version: 0.3.11 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Udev helper for naming devices per BIOS names Group: System Environment/Base @@ -15,6 +15,8 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: pciutils-devel, zlib-devel # to figure out how to name the rules file BuildRequires: udev +#To generate the configure script +BuildRequires: autoconf # for ownership of /etc/udev/rules.d Requires: udev @@ -30,7 +32,7 @@ name (e.g. eth0). %build #If configure script doesn't exist generate it with autogen script -[ -e ./configure ] || ./autogen.sh +[ -e ./configure ] || ./autogen.sh --no-configure # this is a udev rule, so it needs to live in / rather than /usr %configure --disable-rpath --prefix=/ --sbindir=/sbin @@ -54,6 +56,9 @@ rm -rf %{buildroot} %changelog +* Tue Oct 4 2011 Praveen K Paladugu - 0.3.11-4 +- Added autoconf as a build dependency + * Tue Oct 4 2011 Praveen K Paladugu - 0.3.11-3 - Generating the configure script if it doesn't exist From acb54725f824242e804373782d235ddfb893d8a6 Mon Sep 17 00:00:00 2001 From: praveenp Date: Tue, 4 Oct 2011 14:28:10 -0500 Subject: [PATCH 5/5] added automake to the build deps --- biosdevname.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/biosdevname.spec b/biosdevname.spec index 251e789..a9a60f7 100644 --- a/biosdevname.spec +++ b/biosdevname.spec @@ -1,6 +1,6 @@ Name: biosdevname Version: 0.3.11 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Udev helper for naming devices per BIOS names Group: System Environment/Base @@ -17,6 +17,7 @@ BuildRequires: pciutils-devel, zlib-devel BuildRequires: udev #To generate the configure script BuildRequires: autoconf +BuildRequires: automake # for ownership of /etc/udev/rules.d Requires: udev @@ -56,6 +57,9 @@ rm -rf %{buildroot} %changelog +* Tue Oct 4 2011 Praveen K Paladugu - 0.3.11-5 +- Added automake as a build dependency + * Tue Oct 4 2011 Praveen K Paladugu - 0.3.11-4 - Added autoconf as a build dependency