Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cogapp for openSUSE:Factory 
checked in at 2023-05-29 22:47:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cogapp (Old)
 and      /work/SRC/openSUSE:Factory/.python-cogapp.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cogapp"

Mon May 29 22:47:58 2023 rev:6 rq:1089565 version:3.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cogapp/python-cogapp.changes      
2022-09-27 20:14:07.769853324 +0200
+++ /work/SRC/openSUSE:Factory/.python-cogapp.new.1533/python-cogapp.changes    
2023-05-29 22:48:14.266453406 +0200
@@ -1,0 +2,6 @@
+Mon May 29 11:38:28 UTC 2023 - Daniel Garcia <daniel.gar...@suse.com>
+
+- add sle15_python_module_pythons (jsc#PED-68)
+- Use pyproject to build the package
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cogapp.spec ++++++
--- /var/tmp/diff_new_pack.jc0rQF/_old  2023-05-29 22:48:14.666455798 +0200
+++ /var/tmp/diff_new_pack.jc0rQF/_new  2023-05-29 22:48:14.670455823 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cogapp
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 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,7 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
 Name:           python-cogapp
 Version:        3.3.0
 Release:        0
@@ -25,8 +25,10 @@
 Group:          Development/Languages/Python
 URL:            http://nedbatchelder.com/code/cog
 Source:         
https://files.pythonhosted.org/packages/source/c/cogapp/cogapp-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires(post): update-alternatives
@@ -40,13 +42,13 @@
 need.
 
 %prep
-%setup -q -n cogapp-%{version}
+%autosetup -p1 -n cogapp-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 mv %{buildroot}%{_bindir}/cog.py %{buildroot}%{_bindir}/cog
 %python_clone -a %{buildroot}%{_bindir}/cog
@@ -65,6 +67,7 @@
 %license LICENSE.txt
 %doc README.rst
 %python_alternative %{_bindir}/cog
-%{python_sitelib}/*
+%{python_sitelib}/cogapp
+%{python_sitelib}/cogapp-%{version}*-info
 
 %changelog

Reply via email to