Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package orthanc-volview for openSUSE:Factory
checked in at 2024-10-18 15:58:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/orthanc-volview (Old)
and /work/SRC/openSUSE:Factory/.orthanc-volview.new.19354 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "orthanc-volview"
Fri Oct 18 15:58:01 2024 rev:4 rq:1208834 version:1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/orthanc-volview/orthanc-volview.changes
2024-03-25 21:09:06.883202124 +0100
+++
/work/SRC/openSUSE:Factory/.orthanc-volview.new.19354/orthanc-volview.changes
2024-10-18 15:58:22.682111175 +0200
@@ -1,0 +2,5 @@
+Wed Oct 16 10:36:26 UTC 2024 - Axel Braun <[email protected]>
+
+- force python 3.11 to fix Leap build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ orthanc-volview.spec ++++++
--- /var/tmp/diff_new_pack.LekuVv/_old 2024-10-18 15:58:23.426142369 +0200
+++ /var/tmp/diff_new_pack.LekuVv/_new 2024-10-18 15:58:23.430142537 +0200
@@ -51,6 +51,11 @@
BuildRequires: unzip
BuildRequires: uuid-devel
+##Force python 3.11 for Leap
+%if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150400
+BuildRequires: python311
+%endif
+
Requires: orthanc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -70,6 +75,11 @@
#static assets of the VolView viewer
unzip %{S:1} -d VolView
+%if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150400
+#shebag ersetzen
+find . -iname "*.py" -exec sed -i "s/python3/python311/" '{}' \;
+%endif
+
%build
%if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150200
export CC=gcc-13