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