Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-dpcontracts for 
openSUSE:Factory checked in at 2025-05-26 18:40:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dpcontracts (Old)
 and      /work/SRC/openSUSE:Factory/.python-dpcontracts.new.2732 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dpcontracts"

Mon May 26 18:40:57 2025 rev:4 rq:1280246 version:0.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dpcontracts/python-dpcontracts.changes    
2023-04-21 18:48:30.704425313 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-dpcontracts.new.2732/python-dpcontracts.changes
  2025-05-26 18:42:05.867956284 +0200
@@ -1,0 +2,5 @@
+Mon May 26 12:31:22 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-dpcontracts.spec ++++++
--- /var/tmp/diff_new_pack.gSf2E4/_old  2025-05-26 18:42:06.443980480 +0200
+++ /var/tmp/diff_new_pack.gSf2E4/_new  2025-05-26 18:42:06.447980647 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-dpcontracts
 #
-# Copyright (c) 2023 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,8 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
 %{?sle15_python_module_pythons}
 Name:           python-dpcontracts
 Version:        0.6.0
@@ -28,7 +26,9 @@
 URL:            https://github.com/deadpixi/contracts
 Source:         
https://files.pythonhosted.org/packages/source/d/dpcontracts/dpcontracts-%{version}.tar.gz
 Source1:        
https://raw.githubusercontent.com/deadpixi/contracts/master/LICENSE
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
@@ -49,14 +49,16 @@
 cp %{SOURCE1} .
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/dpcontracts.py
+%{python_sitelib}/dpcontracts-%{version}*-info
+%pycache_only %{python_sitelib}/__pycache__/dpcontracts*
 

Reply via email to