1 Commits

Author SHA256 Message Date
Michael Calmer
a48ede5787 rename spec to match directory name 2025-12-20 14:15:56 +01:00
2 changed files with 20 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Dec 20 13:14:12 UTC 2025 - Michael Calmer <mc@suse.com>
- rename spec to match directory name
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 11 10:57:50 UTC 2023 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com> Tue Apr 11 10:57:50 UTC 2023 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>

View File

@@ -24,8 +24,9 @@
%global __brp_python_bytecompile %{nil} %global __brp_python_bytecompile %{nil}
%define srcname libvirt-python %define srcname libvirt-python
%define realname saltbundlepy-libvirt
Name: saltbundlepy-libvirt Name: saltbundlepy-libvirt-sle12
URL: https://libvirt.org/ URL: https://libvirt.org/
Version: 9.2.0 Version: 9.2.0
Release: 0 Release: 0
@@ -50,7 +51,6 @@ BuildRequires: %{saltbundlepy_module devel >= 3.10}
BuildRequires: %{saltbundlepy_module lxml} BuildRequires: %{saltbundlepy_module lxml}
BuildRequires: %{saltbundlepy_module pytest} BuildRequires: %{saltbundlepy_module pytest}
BuildRequires: %{saltbundlepy_module xml} BuildRequires: %{saltbundlepy_module xml}
%python_subpackages
%description %description
The python-libvirt-python package contains a module that permits applications 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 supplied by the libvirt library to use the virtualization capabilities
of recent versions of Linux (v2.6.20+). 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 %prep
%setup -q -n %{srcname}-%{version} %setup -q -n %{srcname}-%{version}
@@ -81,7 +93,7 @@ export CFLAGS="%{optflags}"
%{pytest_arch} %{pytest_arch}
%endif %endif
%files %{python_files} %files -n %{realname}
%doc README COPYING COPYING.LESSER examples/ %doc README COPYING COPYING.LESSER examples/
%{python_sitearch}/libvirt* %{python_sitearch}/libvirt*
%{python_sitearch}/libvirt_python-%{version}*info %{python_sitearch}/libvirt_python-%{version}*info