From a48ede5787767a620b62d573b0a1607e10353d7437b9d04f2e051b585da1205b Mon Sep 17 00:00:00 2001 From: Michael Calmer Date: Sat, 20 Dec 2025 14:15:56 +0100 Subject: [PATCH] rename spec to match directory name --- ...anges => saltbundlepy-libvirt-sle12.changes | 5 +++++ ...irt.spec => saltbundlepy-libvirt-sle12.spec | 18 +++++++++++++++--- 2 files changed, 20 insertions(+), 3 deletions(-) rename saltbundlepy-libvirt.changes => saltbundlepy-libvirt-sle12.changes (99%) rename saltbundlepy-libvirt.spec => saltbundlepy-libvirt-sle12.spec (83%) diff --git a/saltbundlepy-libvirt.changes b/saltbundlepy-libvirt-sle12.changes similarity index 99% rename from saltbundlepy-libvirt.changes rename to saltbundlepy-libvirt-sle12.changes index 021f210..9ef9d29 100644 --- a/saltbundlepy-libvirt.changes +++ b/saltbundlepy-libvirt-sle12.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 20 13:14:12 UTC 2025 - Michael Calmer + +- rename spec to match directory name + ------------------------------------------------------------------- Tue Apr 11 10:57:50 UTC 2023 - Pablo Suárez Hernández diff --git a/saltbundlepy-libvirt.spec b/saltbundlepy-libvirt-sle12.spec similarity index 83% rename from saltbundlepy-libvirt.spec rename to saltbundlepy-libvirt-sle12.spec index 5ac85a0..7c1457c 100644 --- a/saltbundlepy-libvirt.spec +++ b/saltbundlepy-libvirt-sle12.spec @@ -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 -- 2.51.1