From 8da72ff77354ab63ed2480081e1866653c2a6d0f Mon Sep 17 00:00:00 2001 From: praveenp Date: Tue, 4 Oct 2011 09:35:36 -0500 Subject: [PATCH] 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