Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pvirsh for openSUSE:Factory checked 
in at 2026-09-01 15:51:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pvirsh (Old)
 and      /work/SRC/openSUSE:Factory/.pvirsh.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pvirsh"

Tue Sep  1 15:51:56 2026 rev:4 rq:1375089 version:2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/pvirsh/pvirsh.changes    2026-06-09 
14:32:02.713749613 +0200
+++ /work/SRC/openSUSE:Factory/.pvirsh.new.1265/pvirsh.changes  2026-09-01 
15:52:34.831598095 +0200
@@ -1,0 +2,10 @@
+Tue Sep  1 08:27:55 UTC 2026 - Matej Cepl <[email protected]>
+
+- Add proper Provides/Obsoletes for python3-pvirsh.
+
+-------------------------------------------------------------------
+Thu Aug  6 16:54:27 UTC 2026 - Matej Cepl <[email protected]>
+
+- Clean up the SPEC file, modernize to use `%pyproject-*` macros
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ pvirsh.spec ++++++
--- /var/tmp/diff_new_pack.Qz1qVS/_old  2026-09-01 15:52:35.544622971 +0200
+++ /var/tmp/diff_new_pack.Qz1qVS/_new  2026-09-01 15:52:35.547623075 +0200
@@ -16,8 +16,6 @@
 #
 
 
-%define pythons python3
-
 Name:           pvirsh
 Version:        2.2
 Release:        0
@@ -26,18 +24,19 @@
 Group:          System/Management
 URL:            https://github.com/aginies/pvirsh
 Source:         %{name}-%{version}.tar.gz
-BuildRequires:  %{python_module PyYAML}
-BuildRequires:  %{python_module libvirt-python}
-BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildRequires:  python3-PyYAML
+BuildRequires:  python3-libvirt-python
+BuildRequires:  python3-pip
+BuildRequires:  python3-setuptools
+BuildRequires:  python3-wheel
 Requires:       python3-PyYAML
 Requires:       python3-curses
 Requires:       python3-libvirt-python
 BuildArch:      noarch
-%python_subpackages
+Provides:       python3-pvirsh = %{version}-%{release}
+Obsoletes:      python3-pvirsh < %{version}-%{release}
 
 %description
 Parallel virsh command to manage a selected group of Virtual Machine.
@@ -45,26 +44,25 @@
 group of Virtual Machine.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
-%pyproject_wheel
+%python3_pyproject_wheel
 
 %install
-%pyproject_install
+%python3_pyproject_install
 # move group yaml file to /etc/pvirsh
 mkdir -p %{buildroot}%{_sysconfdir}/%{name}/
 mv %{buildroot}%{_datadir}/%{name}/*.yaml %{buildroot}%{_sysconfdir}/%{name}/
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%fdupes %{buildroot}%{python3_sitelib}
 
-%files %{python_files}
-%defattr(-,root,root)
+%files
 %license LICENSE
 %doc ChangeLog README.md AUTHORS
 %{_bindir}/%{name}
-%{python_sitelib}/%{name}
-%{python_sitelib}/%{name}-%{version}.dist-info
+%{python3_sitelib}/%{name}
+%{python3_sitelib}/%{name}-%{version}*-info
 %attr(0755,root,root) %{_datadir}/%{name}/
 %attr(0755,root,root) %config(noreplace) %{_sysconfdir}/%{name}
-%{_mandir}/man1/%{name}.1%{ext_man}
+%{_mandir}/man1/%{name}.1%{?ext_man}
 

Reply via email to