# -*- rpm-spec -*-Summary: The libvirt virtualization API python3 bindingName: libvirt-pythonVersion: 9.10.0Release: 3Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gzUrl: https://libvirt.orgLicense: LGPL-2.1-or-laterBuildRequires: libvirt-develBuildRequires: python3-develBuildRequires: python3-pytestBuildRequires: python3-lxmlBuildRequires: gcc%global __provides_exclude_from ^(%{python3_sitearch}/.*\.so)$%descriptionThe libvirt-python package contains a module that permits applicationswritten in the Python programming language to use the interfacesupplied by the libvirt library to use the virtualization capabilitiesof recent versions of Linux (and other OSes).%package -n python3-libvirtSummary: The libvirt virtualization API python3 binding%{?python_provide:%python_provide python3-libvirt}Provides: libvirt-python3 = %{version}-%{release}Obsoletes: libvirt-python3 < %{version}-%{release}%description -n python3-libvirtThe python3-libvirt package contains a module that permits applicationswritten in the Python 3.x programming language to use the interfacesupplied by the libvirt library to use the virtualization capabilitiesof recent versions of Linux (and other OSes).%prep%autosetup -p1# Unset execute bit for example scripts; it can introduce spurious# RPM dependencies, like /usr/bin/python3# for the -python3 packagefind examples -type f -exec chmod 0644 \{\} \;%build%py3_build%install%py3_install%check%pytest%files -n python3-libvirt%license COPYING%doc README examples/%{python3_sitearch}/libvirt.py*%{python3_sitearch}/libvirtaio.py*%{python3_sitearch}/libvirt_qemu.py*%{python3_sitearch}/libvirt_lxc.py*%{python3_sitearch}/__pycache__/libvirt.cpython-*.py*%{python3_sitearch}/__pycache__/libvirt_qemu.cpython-*.py*%{python3_sitearch}/__pycache__/libvirt_lxc.cpython-*.py*%{python3_sitearch}/__pycache__/libvirtaio.cpython-*.py*%{python3_sitearch}/libvirtmod*%{python3_sitearch}/*egg-info%changelog* Mon Jul 14 2025 Funda Wang <fundawang@yeah.net> - 9.10.0-3- fix test usage* Thu Mar 28 2024 mayunlong <mayunlong6@huawei.com> - 9.10.0-2- Delete BuildRequires python3-libvirt to fix build failure.* Thu Feb 29 2024 mayunlong <mayunlong6@huawei.com> - 9.10.0-1- Update to 9.10.0 release, Initial package for openEuler.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型