|
|
|
|
@@ -24,8 +24,9 @@
|
|
|
|
|
%global __brp_python_bytecompile %{nil}
|
|
|
|
|
|
|
|
|
|
%define srcname libvirt-python
|
|
|
|
|
%define realname saltbundlepy-libvirt
|
|
|
|
|
|
|
|
|
|
Name: saltbundlepy-libvirt
|
|
|
|
|
Name: saltbundlepy-libvirt-sle12
|
|
|
|
|
URL: https://libvirt.org/
|
|
|
|
|
Version: 9.2.0
|
|
|
|
|
Release: 0
|
|
|
|
|
@@ -50,7 +51,6 @@ BuildRequires: %{saltbundlepy_module devel >= 3.10}
|
|
|
|
|
BuildRequires: %{saltbundlepy_module lxml}
|
|
|
|
|
BuildRequires: %{saltbundlepy_module pytest}
|
|
|
|
|
BuildRequires: %{saltbundlepy_module xml}
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The python-libvirt-python package contains a module that permits applications
|
|
|
|
|
@@ -58,6 +58,18 @@ written in the Python programming language to use the interface
|
|
|
|
|
supplied by the libvirt library to use the virtualization capabilities
|
|
|
|
|
of recent versions of Linux (v2.6.20+).
|
|
|
|
|
|
|
|
|
|
%package -n %{realname}
|
|
|
|
|
Summary: Library providing a virtualization API
|
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description -n %{realname}
|
|
|
|
|
The python-libvirt-python package contains a module that permits applications
|
|
|
|
|
written in the Python programming language to use the interface
|
|
|
|
|
supplied by the libvirt library to use the virtualization capabilities
|
|
|
|
|
of recent versions of Linux (v2.6.20+).
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{srcname}-%{version}
|
|
|
|
|
|
|
|
|
|
@@ -81,7 +93,7 @@ export CFLAGS="%{optflags}"
|
|
|
|
|
%{pytest_arch}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
|
%files -n %{realname}
|
|
|
|
|
%doc README COPYING COPYING.LESSER examples/
|
|
|
|
|
%{python_sitearch}/libvirt*
|
|
|
|
|
%{python_sitearch}/libvirt_python-%{version}*info
|