Use configure RPM macro instead of ./configure.

This commit is contained in:
Richard W.M. Jones 2012-08-30 16:39:07 +01:00
parent 51423ebf14
commit 734063db29

View File

@ -716,10 +716,7 @@ EOF
%define extra --with-febootstrap-yum-config=$(pwd)/yum.conf %define extra --with-febootstrap-yum-config=$(pwd)/yum.conf
%endif %endif
./configure \ %{configure} \
--prefix=%{_prefix} --libdir=%{_libdir} \
--mandir=%{_mandir} \
--sysconfdir=%{_sysconfdir} \
--with-extra="fedora=%{fedora},release=%{release}" \ --with-extra="fedora=%{fedora},release=%{release}" \
--with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \ --with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \
--enable-install-daemon \ --enable-install-daemon \
@ -991,6 +988,9 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/libguestfs
%changelog %changelog
* Thu Aug 30 2012 Richard W.M. Jones <rjones@redhat.com> - 1:1.19.36-1
- Use configure RPM macro instead of ./configure.
* Wed Aug 29 2012 Richard W.M. Jones <rjones@redhat.com> - 1:1.19.35-1 * Wed Aug 29 2012 Richard W.M. Jones <rjones@redhat.com> - 1:1.19.35-1
- New upstream version 1.19.35. - New upstream version 1.19.35.