From b650f6add30036620348721a72f108e03e7c7435 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Sat, 12 Nov 2005 21:39:02 +0000 Subject: [PATCH] bugger, make it run autogen.sh if there's no configure --- pyparted.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyparted.spec b/pyparted.spec index f97c38d..01ddf53 100644 --- a/pyparted.spec +++ b/pyparted.spec @@ -19,6 +19,9 @@ partition tables. %build export CFLAGS="-fPIC -O2 -g2" +if [ ! -x configure ]; then + ./autogen.sh --with-python-version=2.4 +fi %configure --with-python-version=2.4 make