use enable_autotools instead of calling autoreconf explicitly
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 21 Feb 2013 10:07:32 +0000 (11:07 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 21 Feb 2013 10:07:32 +0000 (11:07 +0100)
libvirt.spec

index 0b12cec..a108d48 100644 (file)
@@ -28,6 +28,8 @@
 %define _without_esx           true
 %define _without_libxl         true
 
 %define _without_esx           true
 %define _without_libxl         true
 
+%define enable_autotools       1
+
 # If neither fedora nor rhel was defined, try to guess them from %{dist}
 %if !0%{?rhel} && !0%{?fedora}
 %{expand:%(echo "%{?dist}" | \
 # If neither fedora nor rhel was defined, try to guess them from %{dist}
 %if !0%{?rhel} && !0%{?fedora}
 %{expand:%(echo "%{?dist}" | \
@@ -1316,7 +1318,6 @@ of recent versions of Linux (and other OSes).
     %endif
 %endif
 
     %endif
 %endif
 
-autoreconf
 %configure %{?_without_xen} \
            %{?_without_qemu} \
            %{?_without_openvz} \
 %configure %{?_without_xen} \
            %{?_without_qemu} \
            %{?_without_openvz} \