'Kind stupid yum workaround, attempt #2.
This commit is contained in:
parent
fb1736cdc9
commit
4551dd49a7
|
@ -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: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
|
|
||||||
# Source and patches.
|
# Source and patches.
|
||||||
|
@ -550,22 +550,22 @@ else
|
||||||
find /var/cache/yum -type f -name '*.rpm' -print0 | xargs -0 cp -t repo
|
find /var/cache/yum -type f -name '*.rpm' -print0 | xargs -0 cp -t repo
|
||||||
createrepo repo
|
createrepo repo
|
||||||
cat > yum.conf <<EOF
|
cat > yum.conf <<EOF
|
||||||
[main]
|
[main]
|
||||||
cachedir=/var/cache/yum
|
cachedir=/var/cache/yum
|
||||||
debuglevel=1
|
debuglevel=1
|
||||||
logfile=/var/log/yum.log
|
logfile=/var/log/yum.log
|
||||||
retries=20
|
retries=20
|
||||||
obsoletes=1
|
obsoletes=1
|
||||||
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
|
||||||
failovermethod=priority
|
failovermethod=priority
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=0
|
gpgcheck=0
|
||||||
EOF
|
EOF
|
||||||
extra=--with-supermin-packager-config=$(pwd)/yum.conf
|
extra=--with-supermin-packager-config=$(pwd)/yum.conf
|
||||||
fi
|
fi
|
||||||
|
@ -884,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-3
|
* Tue Apr 2 2013 Richard W.M. Jones <rjones@redhat.com> - 1:1.21.26-4
|
||||||
- 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).
|
||||||
|
|
Loading…
Reference in New Issue