Stupid yum workaround, attempt #1.

yum.Errors.ConfigError: Parsing file failed: File contains parsing errors: file:///builddir/build/BUILD/libguestfs-1.21.26/yum.conf
                        [line  2]:     cachedir=/var/cache/yum
                        [line  3]:     debuglevel=1
                        [line  4]:     logfile=/var/log/yum.log
                        [line  5]:     retries=20
                        [line  6]:     obsoletes=1
                        [line  7]:     gpgcheck=0
                        [line  8]:     assumeyes=1
                        [line  9]:     reposdir=/dev/null
                        [line 11]:     name=local
                        [line 12]:     baseurl=file:///builddir/build/BUILD/libguestfs-1.21.26/repo
                        [line 13]:     failovermethod=priority
                        [line 14]:     enabled=1
                        [line 15]:     gpgcheck=0
This commit is contained in:
Richard W.M. Jones 2013-04-02 19:35:35 +01:00
parent a0d01d82a6
commit fb1736cdc9

View File

@ -12,7 +12,7 @@ Summary: Access and modify virtual machine disk images
Name: libguestfs Name: libguestfs
Epoch: 1 Epoch: 1
Version: 1.21.26 Version: 1.21.26
Release: 2%{?dist} Release: 3%{?dist}
License: LGPLv2+ License: LGPLv2+
# Source and patches. # Source and patches.
@ -559,6 +559,7 @@ else
gpgcheck=0 gpgcheck=0
assumeyes=1 assumeyes=1
reposdir=/dev/null reposdir=/dev/null
[local] [local]
name=local name=local
baseurl=file://$(pwd)/repo baseurl=file://$(pwd)/repo
@ -883,7 +884,7 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/libguestfs
%changelog %changelog
* Tue Apr 2 2013 Richard W.M. Jones <rjones@redhat.com> - 1:1.21.26-2 * Tue Apr 2 2013 Richard W.M. Jones <rjones@redhat.com> - 1:1.21.26-3
- New upstream version 1.21.26. - New upstream version 1.21.26.
- Use ./configure --with-default-backend=.. instead of attach-method. - Use ./configure --with-default-backend=.. instead of attach-method.
- Remove Sys::Guestfs::Lib (removed upstream). - Remove Sys::Guestfs::Lib (removed upstream).