Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-libvirt-python for 
openSUSE:Factory checked in at 2025-10-08 18:13:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-libvirt-python (Old)
 and      /work/SRC/openSUSE:Factory/.python-libvirt-python.new.11973 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-libvirt-python"

Wed Oct  8 18:13:40 2025 rev:96 rq:1309663 version:11.8.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-libvirt-python/python-libvirt-python.changes  
    2025-09-03 21:07:43.741391316 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-libvirt-python.new.11973/python-libvirt-python.changes
   2025-10-08 18:14:42.558877076 +0200
@@ -1,0 +2,6 @@
+Tue Oct  7 14:43:38 UTC 2025 - James Fehlig <[email protected]>
+
+- Update to 11.8.0
+  - Add all new APIs and constants in libvirt 11.8.0
+
+-------------------------------------------------------------------

Old:
----
  libvirt-python-11.7.0.tar.gz

New:
----
  libvirt-python-11.8.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-libvirt-python.spec ++++++
--- /var/tmp/diff_new_pack.cMb7QS/_old  2025-10-08 18:14:43.214904605 +0200
+++ /var/tmp/diff_new_pack.cMb7QS/_new  2025-10-08 18:14:43.222904941 +0200
@@ -24,7 +24,7 @@
 %{?sle15_python_module_pythons}
 Name:           python-libvirt-python
 URL:            https://libvirt.org/
-Version:        11.7.0
+Version:        11.8.0
 Release:        0
 Summary:        Library providing a virtualization API
 License:        LGPL-2.1-or-later

++++++ _service ++++++
--- /var/tmp/diff_new_pack.cMb7QS/_old  2025-10-08 18:14:43.266906788 +0200
+++ /var/tmp/diff_new_pack.cMb7QS/_new  2025-10-08 18:14:43.274907124 +0200
@@ -1,7 +1,7 @@
 <services>
   <service name="tar_scm" mode="manual">
     <param name="filename">libvirt-python</param>
-    <param name="revision">v11.7.0</param>
+    <param name="revision">v11.8.0</param>
     <param name="scm">git</param>
     <param name="submodules">disable</param>
     <param name="url">https://gitlab.com/libvirt/libvirt-python.git</param>

++++++ libvirt-python-11.7.0.tar.gz -> libvirt-python-11.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-11.7.0/.gitlab-ci.yml 
new/libvirt-python-11.8.0/.gitlab-ci.yml
--- old/libvirt-python-11.7.0/.gitlab-ci.yml    2025-08-01 11:08:46.000000000 
+0200
+++ new/libvirt-python-11.8.0/.gitlab-ci.yml    2025-09-11 14:14:57.000000000 
+0200
@@ -34,7 +34,7 @@
     - if test -x /usr/bin/rpmbuild && test "$RPM" != "skip" ;
       then
           unset CFLAGS ;
-          rpmbuild --clean --nodeps --define "_topdir $PWD/rpmbuild" -ta 
dist/libvirt-python*tar.gz ;
+          rpmbuild --clean --nodeps --define "_topdir $PWD/rpmbuild" -ta 
dist/libvirt[-_]python*tar.gz ;
           mv rpmbuild/RPMS/x86_64/ libvirt-python-rpms ;
       fi
 
@@ -51,7 +51,7 @@
     - if test -x /usr/bin/rpmbuild && test "$RPM" != "skip" ;
       then
           unset CFLAGS ;
-          rpmbuild --clean --nodeps --define "_topdir $PWD/rpmbuild" -ta 
dist/libvirt-python*tar.gz ;
+          rpmbuild --clean --nodeps --define "_topdir $PWD/rpmbuild" -ta 
dist/libvirt[-_]python*tar.gz ;
           mv rpmbuild/RPMS/x86_64/ libvirt-python-rpms ;
       fi
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-11.7.0/Makefile 
new/libvirt-python-11.8.0/Makefile
--- old/libvirt-python-11.7.0/Makefile  2025-08-01 11:08:46.000000000 +0200
+++ new/libvirt-python-11.8.0/Makefile  2025-09-11 14:14:57.000000000 +0200
@@ -19,4 +19,4 @@
        tox
 
 rpm: all
-       rpmbuild -ta dist/libvirt-python-$(shell tr -d '\n' < VERSION).tar.gz
+       rpmbuild -ta dist/libvirt[-_]python-$(shell tr -d '\n' < VERSION).tar.gz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-11.7.0/VERSION 
new/libvirt-python-11.8.0/VERSION
--- old/libvirt-python-11.7.0/VERSION   2025-08-01 11:08:46.000000000 +0200
+++ new/libvirt-python-11.8.0/VERSION   2025-09-11 14:14:57.000000000 +0200
@@ -1 +1 @@
-11.7.0
+11.8.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-11.7.0/libvirt-python.spec.in 
new/libvirt-python-11.8.0/libvirt-python.spec.in
--- old/libvirt-python-11.7.0/libvirt-python.spec.in    2025-08-01 
11:08:46.000000000 +0200
+++ new/libvirt-python-11.8.0/libvirt-python.spec.in    2025-09-11 
14:14:57.000000000 +0200
@@ -12,11 +12,13 @@
     %define supported_platform 0
 %endif
 
+%define dist_name @DIST_NAME@
+
 Summary: The libvirt virtualization API python3 binding
 Name: libvirt-python
 Version: @VERSION@
 Release: 1%{?dist}
-Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gz
+Source0: https://libvirt.org/sources/python/%{dist_name}-%{version}.tar.gz
 Url: https://libvirt.org
 License: LGPL-2.1-or-later
 BuildRequires: libvirt-devel == %{version}
@@ -51,7 +53,7 @@
 of recent versions of Linux (and other OSes).
 
 %prep
-%setup -q
+%setup -q -n %{dist_name}-%{version}
 
 # Unset execute bit for example scripts; it can introduce spurious
 # RPM dependencies, like /usr/bin/python3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-11.7.0/setup.py 
new/libvirt-python-11.8.0/setup.py
--- old/libvirt-python-11.7.0/setup.py  2025-08-01 11:08:46.000000000 +0200
+++ new/libvirt-python-11.8.0/setup.py  2025-09-11 14:14:57.000000000 +0200
@@ -189,16 +189,21 @@
         sdist.finalize_options(self)
 
     @staticmethod
-    def _gen_from_in(file_in, file_out, replace_pattern, replace):
+    def _gen_from_in(file_in, file_out, replacements):
         with open(file_in) as f_in, open(file_out, "w") as f_out:
             for line in f_in:
-                f_out.write(line.replace(replace_pattern, replace))
+                for pattern, replace in replacements.items():
+                    line = line.replace(pattern, replace)
+                f_out.write(line)
 
     def gen_rpm_spec(self):
+        full_name = self.distribution.get_fullname()
+        dist_name = full_name[:full_name.rfind("-")]
+
         return self._gen_from_in("libvirt-python.spec.in",
                                  "libvirt-python.spec",
-                                 "@VERSION@",
-                                 getVersion())
+                                 {"@VERSION@": getVersion(),
+                                  "@DIST_NAME@": dist_name})
 
     def gen_authors(self):
 
@@ -209,8 +214,7 @@
         authors = ["   " + author for author in authors]
         self._gen_from_in("AUTHORS.in",
                           "AUTHORS",
-                          "@AUTHORS@",
-                          "\n".join(authors))
+                          {"@AUTHORS@": "\n".join(authors)})
 
     def gen_changelog(self):
         cmd = ["git", "log", "--pretty=format:%H:%ct %an <%ae>%n%n%s%n%b%n"]

Reply via email to