# -*- rpm-spec -*-Summary: The libvirt virtualization API python3 bindingName: libvirt-pythonVersion: 7.3.0Release: 1Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gzUrl: https://libvirt.orgLicense: LGPLv2+BuildRequires: libvirt-devel == %{version}BuildRequires: python3-devel%if 0%{?rhel} == 7BuildRequires: python36-pytestBuildRequires: python36-lxml%elseBuildRequires: python3-pytestBuildRequires: python3-lxml%endifBuildRequires: gcc# Don't want provides for python shared objects%{?filter_provides_in: %filter_provides_in %{python3_sitearch}/.*\.so}%{?filter_setup}%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 bindingUrl: http://libvirt.orgLicense: LGPLv2+%{?python_provide:%python_provide python3-libvirt}Provides: libvirt-python3 = %{version}-%{release}Obsoletes: libvirt-python3 <= 3.6.0-1%{?dist}%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%setup -q# 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%{__python3} setup.py test%files -n python3-libvirt%doc ChangeLog AUTHORS README COPYING COPYING.LESSER 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* Thu May 20 2021 wangxiyuan <wangxiyuan1007@gmail.com> - 7.3.0-1- Init 7.3.0 version
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。