[biosdevname/f16] Adding autoconf to buildrequires.

Praveen K Paladugu praveenp at fedoraproject.org
Tue Oct 4 14:36:12 UTC 2011


commit 8da72ff77354ab63ed2480081e1866653c2a6d0f
Author: praveenp <praveen_paladugu at dell.com>
Date:   Tue Oct 4 09:35:36 2011 -0500

    Adding autoconf to buildrequires.

 biosdevname.spec |    9 +++++++--
 1 files 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 <praveen_paladugu at dell.com> - 0.3.11-4
+- Added autoconf as a build dependency
+
 * Tue Oct  4 2011 Praveen K Paladugu <praveen_paladugu at dell.com> - 0.3.11-3
 - Generating the configure script if it doesn't exist
 


More information about the scm-commits mailing list