Don't try to use updates during build.

This commit is contained in:
Richard W.M. Jones 2009-05-11 16:33:08 +00:00
parent cf1f09bca0
commit b0d05cc3a9

View File

@ -4,7 +4,7 @@
Summary: Access and modify virtual machine disk images
Name: libguestfs
Version: 1.0.23
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPLv2+
Group: Development/Libraries
URL: http://et.redhat.com/~rjones/libguestfs/
@ -245,7 +245,7 @@ mkdir -p daemon/m4
mkdir repo
find /var/cache/yum/build -type f -name '*.rpm' -print0 | xargs -0 cp -t repo
createrepo repo
%define extra --with-mirror=file://$(pwd)/repo --with-repo=fedora-12
%define extra --with-mirror=file://$(pwd)/repo --with-repo=fedora-12 --with-updates=none
%else
%define extra %nil
%endif
@ -428,8 +428,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon May 11 2009 Richard Jones <rjones@redhat.com> - 1.0.23-1
* Mon May 11 2009 Richard Jones <rjones@redhat.com> - 1.0.23-2
- New upstream version 1.0.23.
- Don't try to use updates during build.
* Fri May 8 2009 Richard Jones <rjones@redhat.com> - 1.0.21-3
- New upstream version 1.0.21.