Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package trytond_purchase_request for
openSUSE:Factory checked in at 2024-01-23 22:56:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_purchase_request (Old)
and /work/SRC/openSUSE:Factory/.trytond_purchase_request.new.16006 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond_purchase_request"
Tue Jan 23 22:56:50 2024 rev:18 rq:1140833 version:6.0.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/trytond_purchase_request/trytond_purchase_request.changes
2023-11-13 22:25:03.988771370 +0100
+++
/work/SRC/openSUSE:Factory/.trytond_purchase_request.new.16006/trytond_purchase_request.changes
2024-01-23 22:57:03.654426121 +0100
@@ -1,0 +2,5 @@
+Sat Jan 13 15:55:11 UTC 2024 - Axel Braun <[email protected]>
+
+- Switch to wheel and %{?sle15_python_module_pythons}
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ trytond_purchase_request.spec ++++++
--- /var/tmp/diff_new_pack.rO6uH7/_old 2024-01-23 22:57:04.342451277 +0100
+++ /var/tmp/diff_new_pack.rO6uH7/_new 2024-01-23 22:57:04.342451277 +0100
@@ -1,8 +1,8 @@
#
# spec file for package trytond_purchase_request
#
-# Copyright (c) 2023 SUSE LLC
-# Copyright (c) 2017-2021 Dr. Axel Braun
+# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2017-2024 Dr. Axel Braun
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,16 @@
#
+%if 0%{?suse_version} >= 1550
+%define pythons python3
+%define mypython python3
+%define mysitelib %python3_sitelib
+%else
+%{?sle15_python_module_pythons}
+%define mypython %pythons
+%define mysitelib %{expand:%%%{mypython}_sitelib}
+%endif
+
%define majorver 6.0
Name: trytond_purchase_request
Version: %{majorver}.5
@@ -30,9 +40,13 @@
License: GPL-3.0-only
Group: Productivity/Office/Management
+BuildRequires: %{mypython}-devel
+BuildRequires: %{mypython}-pip
+BuildRequires: %{mypython}-setuptools
+BuildRequires: %{mypython}-wheel
BuildRequires: fdupes
+BuildRequires: python-rpm-generators
BuildRequires: python-rpm-macros
-BuildRequires: python3-setuptools
Requires: trytond
Requires: trytond_product
@@ -47,13 +61,13 @@
%setup -q
%build
-%python3_build
+%pyproject_wheel
%install
-%python3_install
-%fdupes -s %{buildroot}
+%pyproject_install
+%python_expand %fdupes %{buildroot}%{mysitelib}
%files
%defattr(-,root,root)
-%{python3_sitelib}/*
+%{mysitelib}/tryton*