Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package gnuhealth-client for
openSUSE:Factory checked in at 2024-01-06 17:30:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnuhealth-client (Old)
and /work/SRC/openSUSE:Factory/.gnuhealth-client.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnuhealth-client"
Sat Jan 6 17:30:04 2024 rev:29 rq:1137221 version:4.2.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/gnuhealth-client/gnuhealth-client.changes
2023-12-22 22:43:05.463866273 +0100
+++
/work/SRC/openSUSE:Factory/.gnuhealth-client.new.28375/gnuhealth-client.changes
2024-01-06 17:30:26.698398534 +0100
@@ -1,0 +2,5 @@
+Sat Jan 6 10:31:32 UTC 2024 - Ben Greiner <[email protected]>
+
+- Enable to SLE15 python module pythons
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnuhealth-client.spec ++++++
--- /var/tmp/diff_new_pack.9eMZzS/_old 2024-01-06 17:30:27.258418990 +0100
+++ /var/tmp/diff_new_pack.9eMZzS/_new 2024-01-06 17:30:27.258418990 +0100
@@ -1,7 +1,7 @@
#
# spec file for package gnuhealth-client
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2015-2023 Dr. Axel Braun
#
# All modifications and additions to the file contributed by third parties
@@ -18,6 +18,17 @@
%define majorver 4.2
+
+%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
+
Name: gnuhealth-client
Version: %{majorver}.1
Release: 0
@@ -27,7 +38,7 @@
URL: http://health.gnu.org/
Source: https://ftp.gnu.org/pub/gnu/health/%{name}-%{version}.tar.gz
## Source: %{name}-%{version}.tar.gz
-## urce1: %{name}-plugins-%{version}.tar.gz
+## Source1: %{name}-plugins-%{version}.tar.gz
Source1:
ftp://ftp.gnu.org/gnu/health/plugins/gnuhealth_plugin_camera-latest.tar.gz
Source2:
ftp://ftp.gnu.org/gnu/health/plugins/gnuhealth_plugin_crypto-latest.tar.gz
Source3:
ftp://ftp.gnu.org/gnu/health/plugins/gnuhealth_plugin_frl-latest.tar.gz
@@ -35,33 +46,35 @@
Source5: https://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz.sig
Source6:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=health&download=1#/%{name}.keyring
+BuildRequires: %{mypython}-Babel
+BuildRequires: %{mypython}-Sphinx
+BuildRequires: %{mypython}-devel
+BuildRequires: %{mypython}-gobject
+BuildRequires: %{mypython}-pip
+BuildRequires: %{mypython}-python-dateutil
+BuildRequires: %{mypython}-setuptools
+BuildRequires: %{mypython}-simplejson
+BuildRequires: %{mypython}-wheel
BuildRequires: fdupes
-BuildRequires: python3-Babel
-BuildRequires: python3-Sphinx
-BuildRequires: python3-devel
-BuildRequires: python3-gobject
-BuildRequires: python3-python-dateutil
-BuildRequires: python3-setuptools
-BuildRequires: python3-simplejson
BuildRequires: update-desktop-files
+Requires: %{mypython}-GooCalendar >= 0.5
+Requires: %{mypython}-cairo
+Requires: %{mypython}-chardet
+Requires: %{mypython}-dateutil
+Requires: %{mypython}-gnupg
+Requires: %{mypython}-gobject
+Requires: %{mypython}-gobject-Gdk
+Requires: %{mypython}-gobject-cairo
+Requires: %{mypython}-numpy
+Requires: %{mypython}-opencv
+Requires: %{mypython}-pytz
+Requires: %{mypython}-setuptools
+Requires: %{mypython}-simplejson
+Requires: %{mypython}-xml
Requires: gnu-free-fonts
Requires: gobject-introspection
Requires: opencv
-Requires: python3-GooCalendar >= 0.5
-Requires: python3-cairo
-Requires: python3-chardet
-Requires: python3-dateutil
-Requires: python3-gnupg
-Requires: python3-gobject
-Requires: python3-gobject-Gdk
-Requires: python3-gobject-cairo
-Requires: python3-numpy
-Requires: python3-opencv
-Requires: python3-pytz
-Requires: python3-setuptools
-Requires: python3-simplejson
-Requires: python3-xml
BuildArch: noarch
@@ -88,10 +101,10 @@
rm -rf */__pycache__
%build
-%python3_build
+%pyproject_wheel
%install
-%python3_install
+%pyproject_install
# menu-entry
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{name}.desktop
@@ -99,7 +112,7 @@
mkdir -p %{buildroot}%{_datadir}/pixmaps
-cp %{buildroot}$(ls -d /usr/lib/python3.*
)/site-packages/gnuhealth/data/pixmaps/gnuhealth/gnuhealth-icon.png
%{buildroot}%{_datadir}/pixmaps/gnuhealth.png
+cp
%{buildroot}%{mysitelib}/gnuhealth/data/pixmaps/gnuhealth/gnuhealth-icon.png
%{buildroot}%{_datadir}/pixmaps/gnuhealth.png
%python_expand %fdupes %{buildroot}%{python3_sitelib}
@@ -109,5 +122,6 @@
%doc Changelog
%license COPYRIGHT COPYING
%{_datadir}/pixmaps/*
-%{python3_sitelib}/*
+%{mysitelib}/gnuhealth
+%{mysitelib}/gnuhealth_client-%{version}.dist-info