Fix LTO build
[platform/upstream/expect.git] / packaging / expect.spec
index 2fd4e7e..10dc1e4 100644 (file)
@@ -35,12 +35,12 @@ expect package loaded.
 cp %{SOURCE1001} .
 
 %build
-autoreconf
-%configure \
+%reconfigure \
        --with-tcl=%_libdir \
        --with-tk=no_tk \
        --with-tclinclude=%_includedir \
        --enable-shared
+
 make %{?_smp_mflags} all pkglibdir=%_libdir/tcl/%name%version