[biosdevname/f16] Generate the configure script if it doesn't exist

Praveen K Paladugu praveenp at fedoraproject.org
Tue Oct 4 14:22:21 UTC 2011


commit 876c1554b12d02153f7b31e7da68b172228fd40e
Author: praveenp <praveen_paladugu at dell.com>
Date:   Tue Oct 4 09:21:33 2011 -0500

    Generate the configure script if it doesn't exist

 biosdevname.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
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 <praveen_paladugu at dell.com> - 0.3.11-3
+- Generating the configure script if it doesn't exist
+
 * Tue Oct  4 2011 Praveen K Paladugu <praveen_paladugu at dell.com> - 0.3.11-2
 - Fixed the dir structure inside the archive
 


More information about the scm-commits mailing list