From 08af2790cef3939727980e53d7f3ad3ea5f75bb29433e87eaaa7ca4f2a3298c9 Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Thu, 13 Apr 2023 12:09:19 +0000 Subject: [PATCH 1/2] Build with llvm15 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/python3-pyside2?expand=0&rev=67 --- python3-pyside2.changes | 6 ++++++ python3-pyside2.spec | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/python3-pyside2.changes b/python3-pyside2.changes index d5a5aa3..4f23012 100644 --- a/python3-pyside2.changes +++ b/python3-pyside2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 13 10:01:16 UTC 2023 - Christophe Marin + +- Build with LLVM 15 on Tumbleweed +- Add a _constraints file to avoid disk and memory issues + ------------------------------------------------------------------- Wed Jan 11 11:18:52 UTC 2023 - Christophe Marin diff --git a/python3-pyside2.spec b/python3-pyside2.spec index e5af5af..e959f17 100644 --- a/python3-pyside2.spec +++ b/python3-pyside2.spec @@ -48,7 +48,14 @@ Provides: python3-PySide2 = %{version}-%{release} Provides: python3-shiboken2 = %{version}-%{release} Provides: python3-shiboken2_generator = %{version}-%{release} # SECTION common_dependencies +%if 0%{?suse_version} > 1500 +# boo#1210176 - PYSIDE-2268 +BuildRequires: clang15-devel +BuildRequires: llvm15-libclang13 +#!BuildIgnore: clang16 +%else BuildRequires: clang-devel >= 3.9 +%endif BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ From 69be2c562b306ff00c699f2df8d7eea1bb59a86357d275cbe4ce66b9b5e55d70 Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Thu, 13 Apr 2023 12:10:33 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/python3-pyside2?expand=0&rev=68 --- _constraints | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 _constraints diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..7336a80 --- /dev/null +++ b/_constraints @@ -0,0 +1,10 @@ + + + + 4 + + + 7 + + +