extra/libvirt to 10.7.0-2

This commit is contained in:
David Beauchamp 2024-09-07 17:32:40 -04:00
parent ae72bbfb48
commit ab2242a639
2 changed files with 9 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = libvirt pkgbase = libvirt
pkgdesc = API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc) pkgdesc = API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)
pkgver = 10.7.0 pkgver = 10.7.0
pkgrel = 1 pkgrel = 2
epoch = 1 epoch = 1
url = https://libvirt.org/ url = https://libvirt.org/
arch = x86_64 arch = x86_64
@ -97,9 +97,11 @@ pkgbase = libvirt
backup = etc/sasl2/libvirt.conf 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
source = https://libvirt.org/sources/libvirt-10.7.0.tar.xz.asc 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 validpgpkeys = 453B65310595562855471199CA68BE8010084C9C
sha256sums = ca757322eed998013b21f474c6c0c15dc08320ba6c8bae54aa16a93a1c3b7054 sha256sums = ca757322eed998013b21f474c6c0c15dc08320ba6c8bae54aa16a93a1c3b7054
sha256sums = SKIP sha256sums = SKIP
sha256sums = c814c9233718c92324ba150f32892b3174d970940e8eb2f7098f989bb4aa8953
pkgname = libvirt pkgname = libvirt
provides = libvirt=10.7.0 provides = libvirt=10.7.0

View file

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