Accepting request 1242924 from Virtualization
- spec: Change hooks dependency from libvirtd to the qemu driver bsc#1236378 OBS-URL: https://build.opensuse.org/request/show/1242924 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=415
This commit is contained in:
commit
661a61482f
BIN
libvirt-11.0.0.obscpio
(Stored with Git LFS)
BIN
libvirt-11.0.0.obscpio
(Stored with Git LFS)
Binary file not shown.
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 3 21:44:39 UTC 2025 - James Fehlig <jfehlig@suse.com>
|
||||
|
||||
- spec: Change hooks dependency from libvirtd to the qemu driver
|
||||
bsc#1236378
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 16 18:31:32 UTC 2025 - James Fehlig <jfehlig@suse.com>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: libvirt
|
||||
version: 11.0.0
|
||||
mtime: 1737048789
|
||||
commit: e4e80cded94359dbf7df208d626c305e222630a8
|
||||
mtime: 1738617363
|
||||
commit: 05a6d9975019b45c305d1dc12e14b6d4b1212e68
|
||||
|
14
libvirt.spec
14
libvirt.spec
@ -209,8 +209,8 @@ BuildRequires: python3-pytest
|
||||
BuildRequires: readline-devel
|
||||
# For pool-build probing for existing pools
|
||||
BuildRequires: libblkid-devel >= 2.17
|
||||
BuildRequires: libjson-c-devel
|
||||
BuildRequires: libpciaccess0-devel >= 0.10.9
|
||||
BuildRequires: libjson-c-devel
|
||||
BuildRequires: pkgconfig(libudev) >= 145
|
||||
%if %{with_sanlock}
|
||||
BuildRequires: sanlock-devel >= 2.4
|
||||
@ -398,12 +398,12 @@ Server side daemon providing functionality previously provided by
|
||||
the monolithic libvirtd
|
||||
|
||||
%package daemon-hooks
|
||||
Summary: Hook scripts for the libvirtd daemon
|
||||
Requires: %{name}-daemon = %{version}-%{release}
|
||||
Summary: Hook scripts for QEMU
|
||||
Requires: %{name}-daemon-driver-qemu = %{version}-%{release}
|
||||
Requires: python3-lxml
|
||||
|
||||
%description daemon-hooks
|
||||
Default hook scripts for the libvirt daemon
|
||||
Hook scripts for the virtqemud daemon
|
||||
|
||||
%package daemon-config-network
|
||||
Summary: Default configuration files for the libvirtd daemon
|
||||
@ -1117,7 +1117,9 @@ mv %{buildroot}/%{_sysconfdir}/logrotate.d/libvirtd %{buildroot}/%{logrotate_dir
|
||||
%endif
|
||||
|
||||
mkdir -p %{buildroot}/%{_localstatedir}/lib/%{name}
|
||||
%if %{with_qemu}
|
||||
mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/hooks
|
||||
%endif
|
||||
%find_lang %{name}
|
||||
install -d -m 0755 %{buildroot}/%{_datadir}/%{name}/networks/
|
||||
cp %{buildroot}/%{_sysconfdir}/%{name}/qemu/networks/default.xml \
|
||||
@ -1161,7 +1163,9 @@ mkdir -p %{buildroot}/usr/lib/supportconfig/plugins
|
||||
install -m 755 %{S:1} %{buildroot}/usr/lib/supportconfig/plugins/libvirt
|
||||
|
||||
# Install qemu hook script
|
||||
%if %{with_qemu}
|
||||
install -m 755 %{S:2} %{buildroot}/%{_sysconfdir}/%{name}/hooks/qemu
|
||||
%endif
|
||||
|
||||
%ifarch %{power64} s390x x86_64
|
||||
mv %{buildroot}/%{_datadir}/systemtap/tapset/libvirt_probes.stp \
|
||||
@ -1543,8 +1547,10 @@ fi
|
||||
%{_datadir}/augeas/lenses/tests/test_virtproxyd.aug
|
||||
%doc %{_mandir}/man8/virtproxyd.8*
|
||||
|
||||
%if %{with_qemu}
|
||||
%files daemon-hooks
|
||||
%{_sysconfdir}/%{name}/hooks/qemu
|
||||
%endif
|
||||
|
||||
%files daemon-config-network
|
||||
%dir %{_datadir}/%{name}/networks/
|
||||
|
Loading…
x
Reference in New Issue
Block a user