Rebase to 7.0.0 release
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
9764121247
commit
c71e60c76c
22
libvirt.spec
22
libvirt.spec
@ -6,7 +6,7 @@
|
|||||||
%define min_rhel 7
|
%define min_rhel 7
|
||||||
%define min_fedora 31
|
%define min_fedora 31
|
||||||
|
|
||||||
%if (0%{?fedora} && 0%{?fedora} >= %{min_fedora}) || (0%{?rhel} && 0%{?rhel} >= %{min_rhel})
|
%if 0%{?fedora} >= %{min_fedora} || 0%{?rhel} >= %{min_rhel}
|
||||||
%define supported_platform 1
|
%define supported_platform 1
|
||||||
%else
|
%else
|
||||||
%define supported_platform 0
|
%define supported_platform 0
|
||||||
@ -213,8 +213,8 @@
|
|||||||
|
|
||||||
Summary: Library providing a simple virtualization API
|
Summary: Library providing a simple virtualization API
|
||||||
Name: libvirt
|
Name: libvirt
|
||||||
Version: 6.10.0
|
Version: 7.0.0
|
||||||
Release: 2%{?dist}.1
|
Release: 1%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://libvirt.org/
|
URL: https://libvirt.org/
|
||||||
|
|
||||||
@ -735,6 +735,9 @@ Requires: xz
|
|||||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||||
Requires: systemd-container
|
Requires: systemd-container
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||||
|
Requires: swtpm-tools
|
||||||
|
%endif
|
||||||
|
|
||||||
%description daemon-driver-qemu
|
%description daemon-driver-qemu
|
||||||
The qemu driver plugin for the libvirtd daemon, providing
|
The qemu driver plugin for the libvirtd daemon, providing
|
||||||
@ -1439,9 +1442,13 @@ fi
|
|||||||
rm -rf %{_localstatedir}/lib/rpm-state/libvirt || :
|
rm -rf %{_localstatedir}/lib/rpm-state/libvirt || :
|
||||||
|
|
||||||
%post daemon-config-nwfilter
|
%post daemon-config-nwfilter
|
||||||
cp %{_datadir}/libvirt/nwfilter/*.xml %{_sysconfdir}/libvirt/nwfilter/
|
for datadir_file in %{_datadir}/libvirt/nwfilter/*.xml; do
|
||||||
|
sysconfdir_file=%{_sysconfdir}/libvirt/nwfilter/$(basename "$datadir_file")
|
||||||
|
if [ ! -f "$sysconfdir_file" ]; then
|
||||||
# libvirt saves these files with mode 600
|
# libvirt saves these files with mode 600
|
||||||
chmod 600 %{_sysconfdir}/libvirt/nwfilter/*.xml
|
install -m 0600 "$datadir_file" "$sysconfdir_file"
|
||||||
|
fi
|
||||||
|
done
|
||||||
# Make sure libvirt picks up the new nwfilter defininitons
|
# Make sure libvirt picks up the new nwfilter defininitons
|
||||||
mkdir -p %{_localstatedir}/lib/rpm-state/libvirt || :
|
mkdir -p %{_localstatedir}/lib/rpm-state/libvirt || :
|
||||||
touch %{_localstatedir}/lib/rpm-state/libvirt/restart || :
|
touch %{_localstatedir}/lib/rpm-state/libvirt/restart || :
|
||||||
@ -1740,7 +1747,7 @@ exit 0
|
|||||||
%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
|
%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
|
||||||
%{_libdir}/%{name}/connection-driver/libvirt_driver_qemu.so
|
%{_libdir}/%{name}/connection-driver/libvirt_driver_qemu.so
|
||||||
%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/swtpm/
|
%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/swtpm/
|
||||||
%dir %attr(0711, root, root) %{_localstatedir}/log/swtpm/libvirt/qemu/
|
%dir %attr(0730, tss, tss) %{_localstatedir}/log/swtpm/libvirt/qemu/
|
||||||
%{_bindir}/virt-qemu-run
|
%{_bindir}/virt-qemu-run
|
||||||
%{_mandir}/man1/virt-qemu-run.1*
|
%{_mandir}/man1/virt-qemu-run.1*
|
||||||
%endif
|
%endif
|
||||||
@ -1943,6 +1950,9 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 15 2021 Daniel P. Berrangé <berrange@redhat.com> - 7.0.0-1
|
||||||
|
- Rebase to 7.0.0 release
|
||||||
|
|
||||||
* Fri Dec 04 2020 Cole Robinson <aintdiscole@gmail.com> - 6.10.0-2.1
|
* Fri Dec 04 2020 Cole Robinson <aintdiscole@gmail.com> - 6.10.0-2.1
|
||||||
- Rebuild for wireshark soname bump
|
- Rebuild for wireshark soname bump
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (libvirt-6.10.0.tar.xz) = 42e77a3542e9f15c3aeaab1639a80ee6539cb0f09a1e8324aa0059a8f6041acf20263a9556ac65c9a7a14693b0756020231085e4556ff54cf8329110018a2485
|
SHA512 (libvirt-7.0.0.tar.xz) = dd6db5ec4971cf4c6059795fd81d5a3a889b10740e34c3c92271eda1c683c99df2c8f923398065d8a7c4f987a20eb1da617d5297ba8ea5a31f154412af50c343
|
||||||
|
Loading…
Reference in New Issue
Block a user