Incorrect tar package, update it

This commit is contained in:
mayunlong 2024-03-28 12:46:19 +08:00 committed by yexiao
parent eeedca1878
commit 0bc31490d5
2 changed files with 20 additions and 27 deletions

Binary file not shown.

View File

@ -97,7 +97,6 @@
%define with_sanlock 1 %define with_sanlock 1
%define with_numad 0 %define with_numad 0
%define with_nbdkit 0 %define with_nbdkit 0
%define with_nbdkit_config_default 0
%define with_firewalld_zone 1 %define with_firewalld_zone 1
%define with_netcf 0 %define with_netcf 0
%define with_libssh2 1 %define with_libssh2 1
@ -176,23 +175,15 @@
%endif %endif
%endif %endif
# We want to build with nbdkit support, but should only enable nbdkit by # We should only enable nbdkit support if the OS ships a SELinux policy that
# default if the OS ships a SELinux policy that allows libvirt to launch it. # allows libvirt to launch it. Right now that's not the case anywhere, but
# Right now that's not the case anywhere, but things should be fine by the time # things should be fine by the time Fedora 40 is released.
# Fedora 40 is released. #
# TODO: add RHEL 9 once a minor release that contains the necessary SELinux
# bits exists (we only support the most recent minor release)
%if %{with_qemu} %if %{with_qemu}
# rhel-8 lacks pidfd_open %if 0%{?fedora} >= 40
%if 0%{?fedora} || 0%{?rhel} >= 9
%define with_nbdkit 0%{!?_without_nbdkit:1} %define with_nbdkit 0%{!?_without_nbdkit:1}
# setting 'with_nbdkit_config_default' must be done only when compiling
# in nbdkit support
#
# TODO: add RHEL 9 once a minor release that contains the necessary SELinux
# bits exists (we only support the most recent minor release)
%if 0%{?fedora} >= 40
%define with_nbdkit_config_default 0%{!?_without_nbdkit_config_default:1}
%endif
%endif %endif
%endif %endif
@ -271,7 +262,7 @@
Summary: Library providing a simple virtualization API Summary: Library providing a simple virtualization API
Name: libvirt Name: libvirt
Version: 9.10.0 Version: 9.10.0
Release: 2 Release: 3
License: LGPLv2+ License: LGPLv2+
URL: https://libvirt.org/ URL: https://libvirt.org/
@ -407,6 +398,9 @@ BuildRequires: libssh2-devel >= 1.3.0
%endif %endif
%if %{with_netcf} %if %{with_netcf}
BuildRequires: netcf-devel >= 0.2.2 BuildRequires: netcf-devel >= 0.2.2
%endif
%if 0%{?fedora} || 0%{?rhel} >= 9
BuildRequires: passt
%endif %endif
%if %{with_esx} %if %{with_esx}
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
@ -421,6 +415,8 @@ BuildRequires: systemtap-sdt-devel
BuildRequires: util-linux BuildRequires: util-linux
# For showmount in FS driver (netfs discovery) # For showmount in FS driver (netfs discovery)
BuildRequires: nfs-utils BuildRequires: nfs-utils
# For storage wiping with different algorithms
BuildRequires: scrub
%if %{with_numad} %if %{with_numad}
BuildRequires: numad BuildRequires: numad
%endif %endif
@ -442,6 +438,8 @@ BuildRequires: mingw32-filesystem
BuildRequires: mingw32-gcc BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils BuildRequires: mingw32-binutils
BuildRequires: mingw32-glib2 >= 2.48 BuildRequires: mingw32-glib2 >= 2.48
BuildRequires: mingw32-libgpg-error
BuildRequires: mingw32-libgcrypt
BuildRequires: mingw32-gnutls BuildRequires: mingw32-gnutls
BuildRequires: mingw32-gettext BuildRequires: mingw32-gettext
BuildRequires: mingw32-libxml2 BuildRequires: mingw32-libxml2
@ -455,6 +453,8 @@ BuildRequires: mingw64-filesystem
BuildRequires: mingw64-gcc BuildRequires: mingw64-gcc
BuildRequires: mingw64-binutils BuildRequires: mingw64-binutils
BuildRequires: mingw64-glib2 >= 2.48 BuildRequires: mingw64-glib2 >= 2.48
BuildRequires: mingw32-libgpg-error
BuildRequires: mingw32-libgcrypt
BuildRequires: mingw64-gnutls BuildRequires: mingw64-gnutls
BuildRequires: mingw64-gettext BuildRequires: mingw64-gettext
BuildRequires: mingw64-libxml2 BuildRequires: mingw64-libxml2
@ -657,8 +657,6 @@ Requires: libvirt-libs = %{version}-%{release}
Requires: nfs-utils Requires: nfs-utils
# For mkfs # For mkfs
Requires: util-linux Requires: util-linux
# For storage wiping with different algorithms
Requires: scrub
%if %{with_qemu} %if %{with_qemu}
# From QEMU RPMs # From QEMU RPMs
Requires: /usr/bin/qemu-img Requires: /usr/bin/qemu-img
@ -1220,12 +1218,6 @@ MinGW Windows libvirt virtualization library.
%define arg_nbdkit -Dnbdkit=disabled %define arg_nbdkit -Dnbdkit=disabled
%endif %endif
%if %{with_nbdkit_config_default}
%define arg_nbdkit_config_default -Dnbdkit_config_default=enabled
%else
%define arg_nbdkit_config_default -Dnbdkit_config_default=disabled
%endif
%if %{with_fuse} %if %{with_fuse}
%define arg_fuse -Dfuse=enabled %define arg_fuse -Dfuse=enabled
%else %else
@ -1341,7 +1333,6 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/libvirt.spec)
%{?arg_sanlock} \ %{?arg_sanlock} \
-Dlibpcap=enabled \ -Dlibpcap=enabled \
%{?arg_nbdkit} \ %{?arg_nbdkit} \
%{?arg_nbdkit_config_default} \
-Dlibnl=enabled \ -Dlibnl=enabled \
-Daudit=enabled \ -Daudit=enabled \
-Ddtrace=enabled \ -Ddtrace=enabled \
@ -1407,7 +1398,6 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/libvirt.spec)
-Dhost_validate=disabled \ -Dhost_validate=disabled \
-Dlibiscsi=disabled \ -Dlibiscsi=disabled \
-Dnbdkit=disabled \ -Dnbdkit=disabled \
-Dnbdkit_config_default=disabled \
-Dlibnl=disabled \ -Dlibnl=disabled \
-Dlibpcap=disabled \ -Dlibpcap=disabled \
-Dlibssh2=disabled \ -Dlibssh2=disabled \
@ -2575,6 +2565,9 @@ exit 0
%endif %endif
%changelog %changelog
* Tue Apr 2 2024 mayunlong <mayunlong6@huawei.com> - 9.10.0-3
- Incorrect tar package, update it
* Wed Mar 27 2024 mayunlong <mayunlong6@huawei.com> - 9.10.0-2 * Wed Mar 27 2024 mayunlong <mayunlong6@huawei.com> - 9.10.0-2
- nodedev: delete mdev - nodedev: delete mdev
- spec: fix some switch in spec - spec: fix some switch in spec