Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cppclean for openSUSE:Factory 
checked in at 2025-05-20 09:36:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cppclean (Old)
 and      /work/SRC/openSUSE:Factory/.python-cppclean.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cppclean"

Tue May 20 09:36:31 2025 rev:5 rq:1278123 version:0.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cppclean/python-cppclean.changes  
2020-05-28 09:19:50.157265594 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cppclean.new.30101/python-cppclean.changes   
    2025-05-20 09:38:16.665841970 +0200
@@ -1,0 +2,5 @@
+Fri May 16 12:22:18 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cppclean.spec ++++++
--- /var/tmp/diff_new_pack.65Vfzn/_old  2025-05-20 09:38:17.337871278 +0200
+++ /var/tmp/diff_new_pack.65Vfzn/_new  2025-05-20 09:38:17.337871278 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cppclean
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-cppclean
 Version:        0.13
 Release:        0
@@ -25,12 +24,14 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/myint/cppclean
 Source:         https://github.com/myint/cppclean/archive/v%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  bash
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(post): alts
+Requires(postun): alts
 BuildArch:      noarch
 %python_subpackages
 
@@ -45,10 +46,10 @@
 %setup -q -n cppclean-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/cppclean
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
@@ -65,5 +66,6 @@
 %license COPYING
 %doc README.rst
 %python_alternative %{_bindir}/cppclean
-%{python_sitelib}/*
+%{python_sitelib}/cpp
+%{python_sitelib}/cppclean-%{version}*-info
 

Reply via email to