Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package olm for openSUSE:Factory checked in 
at 2026-04-26 21:12:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/olm (Old)
 and      /work/SRC/openSUSE:Factory/.olm.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "olm"

Sun Apr 26 21:12:35 2026 rev:12 rq:1349399 version:3.2.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/olm/olm.changes  2023-11-26 19:38:27.696710997 
+0100
+++ /work/SRC/openSUSE:Factory/.olm.new.11940/olm.changes       2026-04-26 
21:15:41.940164127 +0200
@@ -1,0 +2,6 @@
+Thu Apr 23 11:57:16 UTC 2026 - Matej Cepl <[email protected]>
+
+- Convert build to use %pyproject_* macros
+  (soo#python/_ObsPrj#491).
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ olm.spec ++++++
--- /var/tmp/diff_new_pack.5GsII3/_old  2026-04-26 21:15:44.180255331 +0200
+++ /var/tmp/diff_new_pack.5GsII3/_new  2026-04-26 21:15:44.200256146 +0200
@@ -1,7 +1,7 @@
 #
-# spec file
+# spec file for package olm
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # 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 @@
 #
 
 
-%define skip_python2 1
 %global origname olm
 %global origlibname lib%{origname}
 %global libname %{origlibname}3
@@ -34,7 +33,9 @@
 Patch0:         cmake-enable-testing-builddir.patch
 BuildRequires:  %{python_module cffi >= 1.0.0}
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  gcc
@@ -43,9 +44,6 @@
 BuildRequires:  python-rpm-macros
 Requires:       %{libname} = %{version}
 Requires:       python-cffi >= 1.0.0
-%ifpython2
-Requires:       python-typing
-%endif
 %python_subpackages
 
 %description
@@ -88,7 +86,7 @@
 %cmake_build
 
 cd ../python
-%python_build
+%pyproject_wheel
 
 %check
 %if 0%{?suse_version} < 1550
@@ -99,7 +97,7 @@
 %install
 %cmake_install
 cd python
-%python_install
+%pyproject_install
 
 %fdupes %{buildroot}
 
@@ -125,11 +123,6 @@
 %license LICENSE
 %doc python/README.md
 %{python_sitearch}/%{origname}
-%{python_sitearch}/python_%{origname}-*.egg-info
-
-%ifpython2
-%{python_sitearch}/_%{origlibname}.so
-%else
+%{python_sitearch}/python_%{origname}-*-info
 %{python_sitearch}/_%{origlibname}.abi3.so
-%endif
 

Reply via email to