diff --git a/extra/libvirt/.SRCINFO b/extra/libvirt/.SRCINFO index d8b4c6ab1..e2aaef669 100644 --- a/extra/libvirt/.SRCINFO +++ b/extra/libvirt/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = libvirt pkgdesc = API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc) pkgver = 10.7.0 - pkgrel = 1 + pkgrel = 2 epoch = 1 url = https://libvirt.org/ arch = x86_64 @@ -97,9 +97,11 @@ pkgbase = libvirt backup = etc/sasl2/libvirt.conf source = https://libvirt.org/sources/libvirt-10.7.0.tar.xz source = https://libvirt.org/sources/libvirt-10.7.0.tar.xz.asc + source = fix-uuid.patch::https://gitlab.com/libvirt/libvirt/-/commit/008214842011d77fa4feda8d1ff586d29791f8ab.patch validpgpkeys = 453B65310595562855471199CA68BE8010084C9C sha256sums = ca757322eed998013b21f474c6c0c15dc08320ba6c8bae54aa16a93a1c3b7054 sha256sums = SKIP + sha256sums = c814c9233718c92324ba150f32892b3174d970940e8eb2f7098f989bb4aa8953 pkgname = libvirt provides = libvirt=10.7.0 diff --git a/extra/libvirt/PKGBUILD b/extra/libvirt/PKGBUILD index c9619e09b..8c6dbd3f9 100644 --- a/extra/libvirt/PKGBUILD +++ b/extra/libvirt/PKGBUILD @@ -11,7 +11,7 @@ pkgname=(libvirt libvirt-storage-gluster libvirt-storage-iscsi-direct) epoch=1 pkgver=10.7.0 -pkgrel=1 +pkgrel=2 pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)" arch=('x86_64') url="https://libvirt.org/" @@ -112,14 +112,18 @@ backup=( ) source=( "https://libvirt.org/sources/$pkgname-$pkgver.tar.xz"{,.asc} + "fix-uuid.patch::https://gitlab.com/libvirt/libvirt/-/commit/008214842011d77fa4feda8d1ff586d29791f8ab.patch" ) sha256sums=('ca757322eed998013b21f474c6c0c15dc08320ba6c8bae54aa16a93a1c3b7054' - 'SKIP') + 'SKIP' + 'c814c9233718c92324ba150f32892b3174d970940e8eb2f7098f989bb4aa8953') validpgpkeys=('453B65310595562855471199CA68BE8010084C9C') # Jiří Denemark prepare() { cd "$pkgname-$pkgver" + patch -Np1 < ../fix-uuid.patch + sed -i 's|/sysconfig/|/conf.d/|g' \ src/remote/libvirtd.service.in \ tools/{libvirt-guests.service,libvirt-guests.sh}.in \